forked from tslund/spectralDNS
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
39 lines (31 loc) · 1.62 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
# http://travis-ci.org/spectralDNS/spectralDNS
language: generic
os: osx
osx_image: xcode8.3
env:
matrix:
- CONDA_PY=27
- CONDA_PY=36
global:
- secure: "Qt4lzF+eRtKYmY/CbbJPFthLp41kSPfcFj45ooYqTNGKKlZ/CXCPvoo1CD/Pgr3e3tQF+EPEA7ubhejmzs8jD3Kq/X5wiwBzv5i6UwP71EzLXt86nNCRvIaVUtFmHR7dDT2LbHynWreGsMXK+Gu+/KYbapsn0c8rlDPfXv3FQIpgi+htS66Sy0mcl9hWVMj4WA35ev2FuE8HmMk5A/1twWVKdJlktBZExD0n7mlk8KNNhP3kTywVQVI2g4AvBwC06PLVuCbeHXQjjolo0MpF2zPROmqP22kX4kzRwCmHuYR1kycO8PKBWewp1FeXf63S368mPt1mwKU59XjDIzLPNYnnmeT7N3hirTUntsqY5PCNfK61vFnV7f0SF8M2Bw+G7vWwKaOl1NIzVnHtESOJrOgbSACdNT+foUgWf3BFtp636v7qeOqKrOiwUzAuKPfLM5juIk9DSQsFn3oLalMxIIl9/MtvjrhsQg1nfwuGe5wXImnUQkbDNeZ+AysGYvykDwM3WB+QIDEp/NnNdh1CdE4P7s9MsG60MtfUAuVXxTl+MyYBOMKSm8oT3zmoyPM6fq8wibyngtHU4j5tsrSXoUSImCovjlcxqtKYkN7f/L06Gc6dDIlL05CJOnKNQ67YQ4XSrVXFs88pYWBSrtajeJQagtcAbzAEeJsTmOws+As="
before_install:
# Remove homebrew.
- brew remove --force $(brew list)
- brew cleanup -s
- rm -rf $(brew --cache)
install:
- |
MINICONDA_URL="https://repo.continuum.io/miniconda"
MINICONDA_FILE="Miniconda3-latest-MacOSX-x86_64.sh"
curl -L -O "${MINICONDA_URL}/${MINICONDA_FILE}"
bash $MINICONDA_FILE -b
source /Users/travis/miniconda3/bin/activate root
conda config --set show_channel_urls true --set always_yes yes
conda config --add channels conda-forge
conda config --add channels spectralDNS
conda install --yes --quiet conda-forge-build-setup
source run_conda_forge_build_setup
script:
- conda build conf/conda
after_success:
- upload_or_check_non_existence ./conf/conda spectralDNS --channel main || exit 1