forked from conda-forge/gap-feedstock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (49 loc) · 2.6 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
60
61
62
63
# 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:
- CONFIG=osx_
global:
# The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml.
- secure: "ru4g/BZwiNdjYXMN8j76S8qb4s+KHLXepqvV9gW3txrml5KLU8zW3xEav1XeE3NPA8wVDqhjUrk9hPj6Fj/xk9UVoHnKFag6D0DcbaI78mTvjdFZB0laDR1+vRvA2LM6m/oqivr930dymJMI5YNPuRM1oso3cXWHiPvhEBEbzVgW8v7UlmiHUFx5LdhpODBl4AxGiOartxWXhtPJHVADAssy42HV2ld0kpROto/MurTlywy4mnKVVhQOSwRA1UmARqWyrgy4yXIYHUdmWoar8tmmt0i0YSUXqCips+uNoQePHB5L+mtQxISnJTcIcMqdOoRls1mYwId7zD/yBdOhFRW70qL8UkbwEisM9cOT7RhNY0aU8RPtobbnYpBSNfAxVNv7J71o5ieDm68v8fAVKJQIgSvifJOwcOxUGKTaggPybdqqAzBzH2+XVqZyIgVZyIWz2pBHCpEgdNSadDfcqvR6m+tRqBSrEjxDJJF7N6roiYQbjCmStHBiwp2BW+OketAV8QGlrhEeDXFI7KUjotd4novfNkydoywFqd0qMIrgy7tkHS9iQVT15gZik+GkiE3kJ1OEr4yxjplRQFhd7YsCVZ1Km4TJ+0GmFTANodTz0kTefK3cCmj8jzIxcVqBobMXxPcbSJ5tI0405z0LMtjDd986tme6nBJtajYKTXY="
before_install:
# Fast finish the PR.
- |
(curl https://raw.githubusercontent.com/conda-forge/conda-forge-ci-setup-feedstock/branch2.0/recipe/conda_forge_ci_setup/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 install --yes --quiet conda-forge::conda-forge-ci-setup=2
setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml
source run_conda_forge_build_setup
# compiler cleanup
- |
mangle_compiler ./ ./recipe ./.ci_support/${CONFIG}.yaml
script:
# generate the build number clobber
- make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml
- conda build ./recipe -m ./.ci_support/${CONFIG}.yaml --clobber-file ./.ci_support/clobber_${CONFIG}.yaml
- upload_package ./ ./recipe ./.ci_support/${CONFIG}.yaml