1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

readonly srcdir

.travis.yml: make srcdir unwritable during build and tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-05-23 13:18:45 +00:00
parent 08ef146e45
commit 2ba68008b5

View file

@ -48,6 +48,8 @@ before_script:
- "${requests:+git -C spec/rubyspec log --oneline origin/master..@}"
- "rm config.status Makefile rbconfig.rb .rbconfig.time"
- "mkdir build config_1st config_2nd"
- "chmod -R a-w ."
- "chmod u+w build config_1st config_2nd"
- "cd build"
- "../configure -C --disable-install-doc --with-gcc=$CC $CONFIG_FLAG"
- "cp -pr config.cache config.status .ext/include ../config_1st"