Skip to content

Commit

Permalink
Travis run plot tests (#808)
Browse files Browse the repository at this point in the history
* Travis try to run plot tests

* Setting this to false does nothing so remove it

* dont need explicit install
  • Loading branch information
jenshnielsen authored Oct 27, 2017
1 parent 9f55529 commit e741fbd
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,19 @@ branches:
only:
- master

# signal that we are on travis
# to disable things that expect an
# X Display
#
env:
- TRAVISCI=true
# command to install dependencies
install:
- pip install --upgrade pip
- pip install -r requirements.txt
- pip install -r test_requirements.txt --upgrade
- pip install -r docs_requirements.txt
- pip install -e .
# command to run tests

before_script: # configure a headless display to test plot generation
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start

script:
- cd qcodes
- py.test --cov=qcodes --cov-report xml --cov-config=.coveragerc
Expand Down

0 comments on commit e741fbd

Please sign in to comment.