-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
68 lines (61 loc) · 1.37 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
56
57
58
59
60
61
62
63
64
65
66
67
68
language: python
sudo: required
dist: trusty
os: linux
python:
- 3.5
- 3.6
matrix:
include:
- os: osx
language: generic
env: PYTHON=3.5.5
- os: osx
language: generic
env: PYTHON=3.6.3
addons:
apt:
update: true
packages:
- hdf5-tools
# https://pythonhosted.org/CodeChat/.travis.yml.html
before_install:
- linux() { if test "$TRAVIS_OS_NAME" == "linux"; then $@; fi; }
- osx() { if test "$TRAVIS_OS_NAME" == "osx"; then $@; fi; }
- osx brew update
- osx rm -vf /usr/local/include/c++
- osx brew install gcc
- osx brew install hdf5
- osx brew install lzo
- osx brew outdated pyenv || brew upgrade pyenv
- osx brew install pyenv-virtualenv
- osx pyenv install $PYTHON
- osx export MPLBACKEND="tkagg"
- osx export PYENV_VERSION=$PYTHON
- osx export PATH="/Users/travis/.pyenv/shims:${PATH}"
- osx pyenv virtualenv venv
- osx . /Users/travis/.pyenv/versions/$PYTHON/envs/venv/bin/activate
- python --version
- python -m pip install -U pip
- python -m easy_install -U setuptools
- pip install --upgrade pip
- pip install --upgrade setuptools
install:
- make
- make install_test
- make install_graph
script:
- babao
- make flake
- make lint
- make pyre
- make mypy
- make test
- make coverage
- make todo
after_script:
- make develop
- make install
- make reinstall
- make doc
- make uninstall