]> git.lizzy.rs Git - rust.git/blobdiff - .travis.yml
Harden tests to not rely on CWD
[rust.git] / .travis.yml
index 8da1043e031cccb4653c7424d55f4be24baba0aa..90faaaf17469870415bbbdf670bcd6458f5a1844 100644 (file)
@@ -21,9 +21,9 @@ addons:
 before_script:
 - |
   if [ $TRAVIS_OS_NAME = 'osx' ]; then
-    brew install python3 &&
-    virtualenv env -p python3 &&
+    virtualenv env &&
     source env/bin/activate &&
+    python --version &&
     pip install 'travis-cargo<0.2'
   else
     pip install 'travis-cargo<0.2' --user &&