Move travis workaround earlier

Try to get it used on OSX as well
This commit is contained in:
Alex Crichton 2018-01-11 08:24:11 -08:00
parent 5467c0a008
commit 3148881fa2

View file

@ -37,13 +37,16 @@ matrix:
allow_failures:
- env: RUSTFMT=On TARGET=x86_64-unknown-linux-gnu NO_ADD=1
- env: CLIPPY=On TARGET=x86_64-unknown-linux-gnu NO_ADD=1
before_install:
# FIXME (travis-ci/travis-ci#8920) shouldn't be necessary...
- python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)"
install:
- if [ "$NO_ADD" == "" ]; then rustup target add $TARGET; fi
script:
- cargo generate-lockfile
# FIXME (travis-ci/travis-ci#8920) shouldn't be necessary...
- python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)"
- ci/run-docker.sh $TARGET $FEATURES
notifications: