forked from brain-slam/slam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
94 lines (85 loc) · 3 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
---
language: python
os: linux
dist: xenial # default distribution
python:
- "3.6"
env:
- INSTALL='pip' ENV='default-user'
- INSTALL='pip' ENV='default-dev'
- INSTALL='pip' ENV='advanced-user'
- INSTALL='pip' ENV='advanced-dev'
- INSTALL='pip' ENV='full'
jobs:
include:
- name: "Python 3.6 on default Linux distribution (Xenial): lining code"
os: linux
distrib: xenial
language: python
python: "3.6"
env:
- INSTALL='pip' ENV='lining'
script: source continuous_integration/lining.sh
after_success: skip
- name: "Python 3.6 on default macOSX (10.13): lining code"
os: osx
osx_image: xcode9.4
language: shell
env:
- INSTALL='pip' ENV='lining'
script: source continuous_integration/lining.sh
after_success: skip
- name: "Python 3.6 on default macOSX (10.13): minimal user install"
os: osx
osx_image: xcode9.4
language: shell
env:
- TRAVIS_PYTHON_VERSION="3.6" INSTALL='pip' ENV='default-user'
- name: "Python 3.6 on default macOSX (10.13): minimal developer install"
os: osx
osx_image: xcode9.4
language: shell # small hack as python is not fully supported under macOS
env:
- TRAVIS_PYTHON_VERSION="3.6" INSTALL='pip' ENV='default-dev'
- name: "Python 3.6 on default macOSX (10.13): advanced user install (gdist, scipy)"
os: osx
osx_image: xcode9.4
language: shell # small hack as python is not fully supported under macOS
env:
- TRAVIS_PYTHON_VERSION="3.6" INSTALL='pip' ENV='advanced-user'
- name: "Python 3.6 on default macOSX (10.13): advanced dev install (gdist, scipy) + tests"
os: osx
osx_image: xcode9.4
language: shell # small hack as python is not fully supported under macOS
env:
- TRAVIS_PYTHON_VERSION="3.6" INSTALL='pip' ENV='advanced-dev'
- name: "Python 3.6 on default macOSX (10.13): all packages install including visualisation"
os: osx
osx_image: xcode9.4
language: shell # small hack as python is not fully supported under macOS
env:
- TRAVIS_PYTHON_VERSION="3.6" INSTALL='pip' ENV='full'
allow_failures:
- env:
- INSTALL='pip' ENV='default-user'
- INSTALL='pip' ENV='default-dev'
- INSTALL='pip' ENV='advanced-user'
- INSTALL='pip' ENV='advanced-dev'
fast_finish: true
# not needed step, save time
before_install: skip
# command to install dependencies
install: source continuous_integration/install.sh
# command to run tests
script: source continuous_integration/tests.sh
after_success:
- coveralls || true
# automatically upload package on Pypi if tagged as a release
# deploy:
# provider: pypi
# username: "__token__"
# password: "Your PyPI API token, including the pypi- prefix" # to be filled with encrypted token
# skip_existing: true # to avoid error when multiple builds
# distributions: "sdist bdist_wheel"
# on:
# tags: true # deploy package only on set tags