-
-
Notifications
You must be signed in to change notification settings - Fork 65
/
.travis.yml
32 lines (27 loc) · 1.06 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
language: go
jobs:
include:
- os: linux
dist: bionic
arch: amd64
- os: linux
dist: bionic
arch: arm64
- os: osx
osx_image: xcode10
go:
- 1.x
cache: miniconda3
before_install:
- if [[ $TRAVIS_OS_NAME = "linux" && $TRAVIS_CPU_ARCH = "arm64" ]]; then wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-aarch64.sh -O miniconda.sh; fi;
- if [[ $TRAVIS_OS_NAME = "linux" && $TRAVIS_CPU_ARCH = "amd64" ]]; then wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi;
- if [ $TRAVIS_OS_NAME = "osx" ]; then wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh; fi;
- bash ./miniconda.sh -u -b -p ./miniconda3 && source ./miniconda3/bin/activate;
- conda init bash && source $HOME/.bashrc;
- conda update -q --yes conda;
- conda update -q --yes --all;
- conda config --add channels conda-forge;
- conda config --add channels conda-forge;
- conda install -q --yes sed openssl;
script:
- ./tests/test1.sh