forked from projectmesa/mesa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 834 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: python
sudo: false
os:
- linux
python:
- "3.4"
install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- >
conda create -q -n test-environment
python=$TRAVIS_PYTHON_VERSION
coverage flake8 matplotlib nose numpy pandas pip scipy sympy tornado
- source activate test-environment
- pip install coveralls
- pip install .
script:
# * E501 - line length limit
# * E123 - indentation on data structures
- flake8 . --ignore=F403,E501,E123,E128 --exclude=docs,examples,build
- nosetests --with-coverage --cover-package=mesa
after_success:
- coveralls