forked from ahkab/ahkab
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
18 lines (18 loc) · 986 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
language: python
python:
- "2.7"
# - "3.3" one day!
virtualenv:
system_site_packages: false
before_install:
- 'if [ $TRAVIS_PYTHON_VERSION == "2.7" ]; then sudo apt-get build-dep -qq python-scipy python-numpy python-sympy; sudo apt-get install -qq python-matplotlib; fi'
# - 'if [ $TRAVIS_PYTHON_VERSION == "3.3" ]; then sudo apt-get build-dep -qq python3-scipy python3-numpy; sudo apt-get build-dep -qq python-matplotlib; fi'
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- 'if [ $TRAVIS_PYTHON_VERSION == "2.7" ]; then pip install numpy scipy matplotlib sympy --upgrade --use-mirrors; fi'
# - 'if [ $TRAVIS_PYTHON_VERSION == "3.3" ]; then pip install numpy scipy matplotlib --upgrade --use-mirrors; fi'
- pip install nose coveralls --use-mirrors
# command to run tests, e.g. python setup.py test
script: nosetests --with-coverage --cover-package=ahkab -w tests/colpitts -w tests/r2r -w tests/ring3
after_success:
- coveralls