-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (36 loc) · 1.25 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
language: r
warnings_are_errors: false
sudo: required
cache: packages
os:
- linux
- osx
env:
# Build and test package on all supported python version
- BUILD_TARGET=3.7
- BUILD_TARGET=3.6
- BUILD_TARGET=2.7
# Smoketest package on conda canary
- BUILD_TARGET=3.7 CONDA_CANARY="-c conda-canary"
matrix:
# conda canary shouldn't block the build, just show us an FYI
allow_failures:
- env: BUILD_TARGET=3.7 CONDA_CANARY="-c conda-canary"
before_install:
- if [[ "$TRAVIS_OS_NAME" != "linux" ]]; then sudo tlmgr install index; else tlmgr install index; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then MINICONDA_OS=Linux; else MINICONDA_OS=MacOSX; fi
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-$MINICONDA_OS-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p "$HOME"/miniconda
- source "$HOME"/miniconda/etc/profile.d/conda.sh
- conda config --set always_yes yes --set changeps1 no --set auto_update_conda false
# yapf is pinned to help make sure we get the same results here as a user does locally.
- conda update -q conda
- conda info -a
- export LANG=en_US.UTF-8
- printenv | sort
notifications:
email:
recipients:
on_success: change
on_failure: always