forked from NeurodataWithoutBorders/pynwb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (45 loc) · 1.24 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
branches:
only:
- dev
sudo: false
matrix:
include:
- os: osx
language: generic
env:
- TRAVIS_PYTHON_VERSION=3.6.3
- TEST_TOX_ENV=py36
- COVERAGE_TOX_ENV=coverage-py36
- BUILD_TOX_ENV=build-py36
- TEST_WHEELINSTALL_ENV=wheelinstall-py36
- os: osx
language: generic
env:
- TRAVIS_PYTHON_VERSION=3.5.4
- TEST_TOX_ENV=py35
- COVERAGE_TOX_ENV=coverage-py35
- BUILD_TOX_ENV=build-py35
- TEST_WHEELINSTALL_ENV=wheelinstall-py35
- os: osx
language: generic
env:
- TRAVIS_PYTHON_VERSION=2.7.14
- TEST_TOX_ENV=py27
- COVERAGE_TOX_ENV=coverage-py27
- BUILD_TOX_ENV=build-py27
- TEST_WHEELINSTALL_ENV=wheelinstall-py27
cache:
directories:
- $HOME/.pyenv/versions/3.6.3
- $HOME/.pyenv/versions/3.5.4
- $HOME/.pyenv/versions/2.7.14
before_install:
- export PATH=$HOME/.pyenv/versions/$TRAVIS_PYTHON_VERSION/bin:$PATH
- pyenv install -s $TRAVIS_PYTHON_VERSION
- pyenv global $TRAVIS_PYTHON_VERSION
- pip install tox
script:
- tox -e $TEST_TOX_ENV
- tox -e $COVERAGE_TOX_ENV
- tox -e $BUILD_TOX_ENV
- tox -e $TEST_WHEELINSTALL_ENV --recreate --installpkg dist/*-none-any.whl