forked from conda-forge/jsoncpp-feedstock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (47 loc) · 2.42 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
54
55
56
57
58
59
# This file was generated automatically from conda-smithy. To update this configuration,
# update the conda-forge.yml and/or the recipe/meta.yaml.
language: generic
os: osx
osx_image: xcode6.4
env:
matrix:
- CONDA_PY=27
global:
# The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml.
- secure: "neWVZJ0735h0shtN8xaIj/kmmVJYF4H/OvwTMDf6Xl6nGek8yLAxkP2MFPrhf/Lhf5cNjzkI1ByEGdzkFUVUePB1mIlqovc0Hf7rqmSJ7H/PC27kzgKotFoHuhEPulcs3Vu+w7wFL+sMzdHRhsIiR/GNikCSuP6/2axItADJsVMddGTyiruYUK/6hgYG8/8EXP2en+ojDd7xMt1aLGDI/cz7ZM5NLaSk2/NK5lEOP61dECSEjYPwfRyV1rWEs/fCfd9W4CbO7BKErdul3iNaHj5BfRg7+Z6t4ZZmx1F+wiS9R9WwgOMCdyLNQqKhwJfsAgcF9Z6cYTT0axiBZR71PKdLRYWJBhS+eQ5zTkZ1ahvx5oLryepwTCl1xLaItffW5V4e5JEdu62sM7kzavGmNwuhhuX+uJPBsKNCi4tCh4O0Gn3q3d6Hui6A48Rl55kxFhmu9uOtFPKS/diE56jp2Q5/0sgi5hmg6Dh26txXSezLBEJZleuIFpEGWOIkYmSyAfUpwqKn7B9QGTCcbmBOffWDWGvfD3CjqEjLmTDjswqSoFIFZVo6Gogwm67NdZavKa+R1tlykqHmP8y03t0SDLQg7EtnmGfnqbsHWEn9uvY18ee3eHDryiVDQ20ASHsgxzJhh/8Aic/KtwrWyT0cCbgNuzTQYnOUQrMLvXYEvh8="
before_install:
# Fast finish the PR.
- |
(curl https://raw.githubusercontent.com/conda-forge/conda-forge-build-setup-feedstock/master/recipe/ff_ci_pr_build.py | \
python - -v --ci "travis" "${TRAVIS_REPO_SLUG}" "${TRAVIS_BUILD_NUMBER}" "${TRAVIS_PULL_REQUEST}") || exit 1
# Remove homebrew.
- |
echo ""
echo "Removing homebrew from Travis CI to avoid conflicts."
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall > ~/uninstall_homebrew
chmod +x ~/uninstall_homebrew
~/uninstall_homebrew -fq
rm ~/uninstall_homebrew
install:
# Install Miniconda.
- |
echo ""
echo "Installing a fresh version of Miniconda."
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
# Configure conda.
- |
echo ""
echo "Configuring conda."
source /Users/travis/miniconda3/bin/activate root
conda config --remove channels defaults
conda config --add channels defaults
conda config --add channels conda-forge
conda config --set show_channel_urls true
conda install --yes --quiet conda-forge-build-setup
source run_conda_forge_build_setup
script:
- conda build ./recipe
- upload_or_check_non_existence ./recipe conda-forge --channel=main