Skip to content

Commit da9321d

Browse files
committed
Updated.
1 parent e4cdc16 commit da9321d

File tree

1 file changed

+28
-9
lines changed

1 file changed

+28
-9
lines changed

.travis.yml

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,41 @@
11
language: python
22
python:
3-
- "2.7"
3+
- 2.7
4+
- 3.3
5+
notifications:
6+
email: false
7+
48
before_install:
9+
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
10+
- chmod +x miniconda.sh
11+
- ./miniconda.sh -b
12+
- export PATH=/home/travis/miniconda/bin:$PATH
13+
- conda update --yes conda
14+
# The next couple lines fix a crash with multiprocessing on Travis and are not specific to using Miniconda
15+
- sudo rm -rf /dev/shm
16+
- sudo ln -s /run/shm /dev/shm
517
#- sudo apt-get update -qq
618
#- sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran
719
#- sudo apt-get install -qq python-numpy python-scipy python-matplotlib
8-
- virtualenv --system-site-packages ~/virtualenv/this
9-
- source ~/virtualenv/this/bin/activate
20+
# - virtualenv --system-site-packages ~/virtualenv/this
21+
# - source ~/virtualenv/this/bin/activate
1022
install:
11-
- pip install -r requirements.txt
12-
- pip install nose
13-
- pip install coverage
14-
- pip install coveralls
23+
- conda install --yes python=$TRAVIS_PYTHON_VERSION atlas numpy scipy matplotlib nose
24+
# Coverage packages are on my binstar channel
25+
- conda install --yes -c dan_blanchard python-coveralls nose-cov
1526
- python setup.py install
27+
# - pip install -r requirements.txt
28+
# - pip install nose
29+
# - pip install coverage
30+
# - pip install coveralls
31+
# - python setup.py install
1632
script:
17-
- nosetests -a '!slow' --with-coverage --cover-package=commpy
33+
#- nosetests -a '!slow' --with-coverage --cover-package=commpy
34+
- nosetests -a '!slow' --with-cov --cov commpy --cov-config .coveragerc --logging-level=INFO
35+
36+
# Calculate coverage
1837
after_success:
19-
- coveralls
38+
- coveralls --config_file .coveragerc
2039

2140
#language: python
2241
#python:

0 commit comments

Comments
 (0)