Skip to content

Commit

Permalink
.travis.yml: don't use virtualenv
Browse files Browse the repository at this point in the history
Install python 2 and avoid using virtualenv, pip on osx works fine
without it.

Also remove unnecessary path prefix and add newline at the end.
  • Loading branch information
mpeterv committed Jul 8, 2016
1 parent 5af7e0d commit 88ac29f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ matrix:


before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python3; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then virtualenv venv -p python3; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source venv/bin/activate; fi

- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install python; fi
- pip install hererocks
- hererocks lua_install -r^ --$LUA
- export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH
Expand All @@ -60,10 +56,10 @@ script:

after_success:
- luacov-coveralls -c $TRAVIS_BUILD_DIR/test/luacov.config --exclude $TRAVIS_BUILD_DIR/test/
- $PWD/lua_install/bin/luacov -c $TRAVIS_BUILD_DIR/test/luacov.config
- luacov -c $TRAVIS_BUILD_DIR/test/luacov.config
- grep "Summary" -B1 -A1000 $TRAVIS_BUILD_DIR/test/luacov.report.out

notifications:
email:
on_success: change
on_failure: change
on_failure: change

0 comments on commit 88ac29f

Please sign in to comment.