Skip to content

Commit

Permalink
Different installation order for Travis CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashaener committed Jan 3, 2017
1 parent e352e9a commit e36022d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,15 @@ matrix:
packages: ['gcc-4.9', 'g++-4.9']
env: CC=gcc-4.9 CXX=g++-4.9 PYTHON=3.5

before-install:
- if [ "${PYTHON:0:1}" = "3" ]; then export PY=3; fi
- pip$PY install pytest pytest-cov
- pip$PY install coveralls
# command to install dependencies
install:
- if [ "${PYTHON:0:1}" = "3" ]; then export PY=3; fi
- pip$PY install -r requirements.txt
- pip$PY install pytest-cov
- pip$PY install coveralls
- pip$PY install .

# command to run tests
script: pytest --pyargs projectq --cov --cov-report term-missing
script: pytest --pyargs projectq --cov projectq

after_success:
- coveralls

0 comments on commit e36022d

Please sign in to comment.