forked from conda-forge/xtensor-feedstock
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
59 lines (47 loc) · 2.48 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:
- CONFIG=osx_
global:
# The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml.
- secure: "h9xD8bmTUPw3vjyKbPaZp9GRiqB3cSETcHXzDjEUqn2x7NXdkze1TqJJJ5F50IJDJssqLVPXqkXcIb+0IkYIBBY5KavAyhI2hKrW7aKN/ekBo/0EdaTRhEh6JAWoF0SpqN9+XVNMvTxRPJ4f9VIowOZdBKIu1WhBZv00oTjsZe2sCo0yCwrQAWQQQAKxIYOvvSBYO7GIrpJE1Ej5ljUbFTwyr45sEBFd8RCwLyL3KbtIUr+zIB78WO2AO9SX+tE2mkvcekG88LaqNVK49kk0danW7p0t4IUi7IzsBIf/5kWuQS9MZKBDISUq5fp/mMdnKx+ug/FDebX5eefcc8K4UEjScG8nYTHOdNNF35Z3d1/qushw+I9zSDa3kKmDgmorx0HWQBidn6T9VvfFFAkAQEzjdPXDGG3fOGMdSdRhJCQ95oPk8G1hzk5zFcDdUOlbwT8qnKtAplfS7rlFztdTXjAOiLmbF+klgQkoadWqJ5EVMOmQv15r47SLxw3INuaFxyUG5pMytm3FvZpjtc9VUDN10HAWLezJK+O3g/6YdJzFp2Y6s82jDdLteCQSoPmqwrOMjWn0ds6rphHfanFtJX+BNf2Sz/ilk4r21CeekCZ6nBi4SD6CJv8NQ+rECZxarBGPpAuulMI1Yy/UhPVx9BuLiR3C/kgPCZ28R4ioR9g="
before_install:
# Fast finish the PR.
- |
(curl https://raw.githubusercontent.com/conda-forge/conda-forge-ci-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-ci-setup=1
source run_conda_forge_build_setup
script:
- conda build ./recipe -m ./.ci_support/${CONFIG}.yaml
- upload_or_check_non_existence ./recipe conda-forge --channel=main -m ./.ci_support/${CONFIG}.yaml