-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy path.travis.yml
55 lines (44 loc) · 2.04 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
language: generic
os: osx
osx_image: xcode6.4
sudo: false
env:
matrix:
- CONDA_PY=36
global:
- FENICS_VERSION="2018.1.0"
# travis encrypt BINSTAR_TOKEN="..." --repo mikaem/Oasis
- secure: "Lci618N57axwAmkbKcwyr2EiG/tvWW94Pl54WGQrkS5Rp/GAilgCBO03sAgYu+ClbAtCrxxYZwGcrCk8DzNYde3TBr+OYkENxb0sITALBil37BcoS8w1Bqyh5H4UHOJM9uavTHnBgu0J82yPSq9aY/v+cAmmM5DJH18WMVARWOrojKtoV/06n6lvo8W+JpjFmew0kuVDWR6ztMvpjRawQUkMYMK1lB/zs+1YXEh0Rg8BYYaG5v0UlxpklNjUscxxr4X74SH2pGHz2ZJ5pbjH9XIUEZ7V6fcv3rAWeFutT40S9HknpWMGTwj3gAO2FMHw4PYkEDluLUJ/2kQ1zViT24A0lJuTztryHvPjWBdxpEJI7JX/ewx29tJE9T5rjy8k4vty1UgsAMF40VzPEFY+p1cwvbGrJt5wxFSIVUyQ9/kE2Uo4JQvQmw/l7cMzOXP6wHBWv3/VcGkgvy8n7hgdlXsFPQQIBk/fXzL7X1q6vH9J23RmOVsCNFUeASLpbgXmcG04FBPcAioidD6LWZGw6STaquMWpZiMmK9oXZFEzhjTFoyChVifL2hGuS2MeZgS1h8O7bnUh/z09i5QkcGkWPd3WZJGp9kVsZ5oYjeCXYjTIAtNFfjuVRvzixKTV0g45dXJlBu1oFS+T5Las7v/kkr9ZOzDfVALGc+/Le4tK+M="
before_install:
# 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 --set always_yes yes
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 conf/conda
after_success:
- upload_or_check_non_existence ./conf/conda mikaem --channel main