forked from ARM-DOE/pyart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (34 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
# Travis CI build script
# This is a modified version of the .travis.yml file from the scikit-learn
# project: https://github.com/scikit-learn/scikit-learn
language: python
env:
global:
# pyart-docs-bot GH
secure: "cHUzL+m2ZBGAY0adl6DirWg3zUXvfuVo1meTf5sSMg0XBCoUlhpLuIrFMGgBET88G6OokfzUa8wfZHml4bkjN4N3u9ZjphvAB+zrhC5yL1cecLvo0Z9k+umfq9/Ieo4qe2oofr1TfRbqkgWViio+GSYrrhh/vEbF1zr4weaPGRY="
matrix:
include:
- python: 2.7
env:
- PYTHON_VERSION="2.7"
- NOSE_ARGS="-v --no-skip --with-cov --cov pyart pyart"
- COVERALLS="true"
- python: 2.7
env:
- PYTHON_VERSION="2.7"
- NOSE_ARGS="-v --no-skip --with-cov --cov pyart --exe pyart"
- FROM_RECIPE="true"
- DOC_BUILD="true"
- python: 2.6
env:
- PYTHON_VERSION="2.6"
- NOSE_ARGS="-v --with-cov --cov pyart pyart"
install: source continuous_integration/install.sh
script: xvfb-run nosetests $NOSE_ARGS
after_success:
# Ignore coveralls failures as the coveralls server is not very reliable
# but we don't want travis to report a failure in the github UI just
# because the coverage report failed to be published.
- if [[ "$COVERALLS" == "true" ]]; then coveralls || echo "failed"; fi
# Build docs if requested
- if [[ "$DOC_BUILD" == "true" ]]; then cd $TRAVIS_BUILD_DIR; source continuous_integration/build_docs.sh; fi