]> git.lizzy.rs Git - rust.git/blobdiff - .travis.yml
Do not put comment's line start and closer on the same line
[rust.git] / .travis.yml
index 5ece4e0dbe6d3b06d085d416731a659ec642044a..8da1043e031cccb4653c7424d55f4be24baba0aa 100644 (file)
@@ -21,14 +21,14 @@ addons:
 before_script:
 - |
   if [ $TRAVIS_OS_NAME = 'osx' ]; then
-    brew install python3
-    virtualenv env -p python3
-    source env/bin/activate
+    brew install python3 &&
+    virtualenv env -p python3 &&
+    source env/bin/activate &&
     pip install 'travis-cargo<0.2'
   else
-    pip install 'travis-cargo<0.2' --user
+    pip install 'travis-cargo<0.2' --user &&
+    export PATH="$(python -m site --user-base)/bin:$PATH"
   fi
-- export PATH="$(python -m site --user-base)/bin:$PATH"
 
 script:
 - |