forked from spacetelescope/stwcs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
53 lines (41 loc) · 1.26 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
language: python
os:
- linux
#- osx
sudo: false
python:
- 3.5
- 3.6
env:
global:
# The following versions are the 'default' for tests, unless
# overidden underneath. They are defined here in order to save having
# to repeat them for all configurations.
- NUMPY_VERSION=stable
- ASTROPY_VERSION=development
- MAIN_CMD='python setup.py'
- CONDA_CHANNELS='http://ssb.stsci.edu/conda-dev'
- CONDA_DEPENDENCIES='pytest drizzlepac'
matrix:
- SETUP_CMD='egg_info'
- SETUP_CMD='test'
matrix:
# Don't wait for allowed failures
fast_finish: true
include:
# Do a PEP8 test with pycodestyle
- python: 3.5
env: MAIN_CMD='pycodestyle stwcs --count' SETUP_CMD=''
# build sphinx documentation with warnings
- python: 3.6
env: SETUP_CMD='build_sphinx'
PIP_DEPENDENCIES='sphinx-automodapi sphinx_rtd_theme'
allow_failures:
# Do a PEP8 test with pycodestyle
- python: 3.5
env: MAIN_CMD='pycodestyle stwcs --count' SETUP_CMD=''
install:
- git clone git://github.com/astropy/ci-helpers.git
- source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME.sh
script:
- $MAIN_CMD $SETUP_CMD