forked from QuantEcon/QuantEcon.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (46 loc) · 1.1 KB
/
.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Travis Configuration for QuantEcon.py
#
# Thank you for the writeup given by dan-blanchard at https://gist.github.com/dan-blanchard/7045057
#
sudo: false #Use new Container Infrastructure
language: python
cache:
pip: true
directories:
# osx-specific caches
- $HOME/Library/Caches/pip
addons:
apt:
packages:
- hdf5-tools
homebrew:
packages:
- hdf5
matrix:
include:
- python: 3.6
- os: osx
osx_image: xcode10
sudo: required
env: TRAVIS_PYTHON_VERSION=3.7
language: generic
before_install:
- pip install virtualenv
- virtualenv env -p python3
- source env/bin/activate
notifications:
email: false
branches:
only:
- master
install:
- pip install -U pip nose coveralls coverage numpy scipy pandas numba sympy ipython statsmodels flake8
- pip install tables
- python setup.py install
script:
- flake8 --select F401, F405,E231 quantecon
- nosetests --with-coverage -a "!slow" --cover-package=quantecon
after_success:
- coveralls
# Enable this to occasionally test performance
# - nosetests -a "slow"