forked from MPAS-Dev/MPAS-Analysis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (41 loc) · 1.8 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
# Based on https://github.com/NOAA-ORR-ERD/gridded/blob/master/.travis.yml
language: minimal
sudo: false
notifications:
email: false
matrix:
fast_finish: true
include:
- name: "python-3.6"
python: 3.6
env: CONDA_ENV=py36
- name: "python-3.7"
python: 3.7
env: CONDA_ENV=py37
- name: "python-3.8"
python: 3.8
env: CONDA_ENV=py38
- name: "python-3.7-xarray-master"
python: 3.7
env: CONDA_ENV=py37-xarray-master
env:
global:
secure: "RcARu+7YXJCWMDkwaP151JUuJW0aei0DG8ES6xwjlPjCy0wht1aDyZlcS4aE+hoQOZL/dGM4ppKLoxy7PlTMg3bocn4782VbnGT1p94FieuNVj+irs54UrTBouKbDmJQtgGPNV8WnXt3suKlcb62304eJs5Ryfl2ZOIpS+yBFcfUgTFn3wBGba4WO+wzx2mG+e5E6CIOLkoFlLYaJJ+2vShXHaCNYIgq4DrLYR1U/Jq6HAli6x3iETPqL0ZPdLAtB96lYYssV+4VZjyMzAkxNjj3RhRAIFH8K/Fe9VWke1MZqwnz0Bu2Z8GyhwFkdc8u+epUDCUIgGxGps57RgiBi2dmLW0RyNdQ2pG5WgT7M5/dkx4STq2ofv/YAKniG7LyM30X/H7G9/RlyIQ354P54265zdul1sasREeHKhNe82QsX2tos/jo7/E2f0uYtrQ1btSo1jItyTukOHER11W6yqYTSc4yqFJLCXxWFbEuzSyaIfVp7AJFHGjYU3A/ZdMG6Y+cs9Q/xapwx2Zoon67GGDJ7OItQeScKcF7pIYbo1uWWYHdQ9GBedyqWgqz75H6wCXbxo2jGUze/pP5I/2plBMeDiY4eSBulbbpupRXpj1uNOAZv+PiP1UDjwMQCzz/NwBLCcG+jxEDwOHnzoPwPnZeOBNPHXkEAZxeW9z9TjA="
before_install:
- |
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
bash miniconda.sh -b -p $HOME/miniconda
source $HOME/miniconda/etc/profile.d/conda.sh
conda activate base
conda config --set always_yes yes --set changeps1 no --set show_channel_urls true
conda update conda
conda config --add channels conda-forge --force
conda config --set channel_priority strict
conda env create --file ci/environment-$CONDA_ENV.yml
source activate TEST
# conda info --all
# conda list
install:
- ./ci/install.bash
script:
- ./ci/test_and_publish_docs.bash