Skip to content

Commit

Permalink
test docker-based testing
Browse files Browse the repository at this point in the history
  • Loading branch information
graik committed Feb 23, 2018
1 parent 6811ee9 commit 897c09c
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 15 deletions.
24 changes: 9 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
#virtualenv:
# system_site_packages: true
sudo: required

language: python
python:
# - "2.7"
# - "3.4"
- "3.5"
- "3.6"

services:
- docker

# command to install dependencies
install:
- pip install -r requirements_extended.txt
- pip install coverage coveralls
# - python setup.py install
- export PYTHONPATH=$PYTHONPATH:`pwd`
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y plotutils libplot-dev python-dev libblas-dev liblapack-dev gfortran gnuplot
- docker build -t graik/biskit .

# command to run tests
script:
coverage run biskit/test.py -e exe fails
docker run -t graik/biskit coverage run biskit/test.py -e exe fails
after_success:
coveralls
after_failure:
Expand Down
24 changes: 24 additions & 0 deletions .travis_direct.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#virtualenv:
# system_site_packages: true
language: python
python:
# - "2.7"
# - "3.4"
- "3.5"
- "3.6"
# command to install dependencies
install:
- pip install -r requirements_extended.txt
- pip install coverage coveralls
# - python setup.py install
- export PYTHONPATH=$PYTHONPATH:`pwd`
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y plotutils libplot-dev python-dev libblas-dev liblapack-dev gfortran gnuplot
# command to run tests
script:
coverage run biskit/test.py -e exe fails
after_success:
coveralls
after_failure:
coveralls

0 comments on commit 897c09c

Please sign in to comment.