File tree 2 files changed +19
-6
lines changed
2 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 1
1
language : go
2
2
3
- os :
4
- - linux
5
- - osx
3
+ jobs :
4
+ include :
5
+ - os : linux
6
+ dist : bionic
7
+ - os : osx
8
+ osx_image : xcode10
6
9
7
10
go :
8
11
- 1.x
9
12
13
+ cache : miniconda3
14
+
10
15
before_install :
16
+ - if [ $TRAVIS_OS_NAME = "linux" ]; then wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi;
17
+ - if [ $TRAVIS_OS_NAME = "osx" ]; then wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh; fi;
18
+ - bash ./miniconda.sh -u -b -p ./miniconda3 && source ./miniconda3/bin/activate;
19
+ - conda init bash && source $HOME/.bashrc;
20
+ - conda update -q --yes conda;
21
+ - conda update -q --yes --all;
22
+ - conda config --add channels conda-forge;
23
+ - conda config --add channels conda-forge;
24
+ - conda install -q --yes sed openssl;
25
+
11
26
12
27
script :
13
28
- ./tests/test.sh
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ app=./seqkit/seqkit
10
10
11
11
set +e
12
12
13
- which csvtk || (git clone https://github.com/shenwei356/csvtk; cd ./csvtk/csvtk; go get -v ... ; go build)
13
+ which csvtk || (git clone --depth 1 https://github.com/shenwei356/csvtk; cd ./csvtk/csvtk; go get -v ... ; go build)
14
14
CSVTK=csvtk
15
15
which csvtk || CSVTK=./csvtk/csvtk/csvtk; true
16
16
@@ -20,8 +20,6 @@ md5sum () {
20
20
openssl dgst -sha256 $1 | cut -d $' ' -f 2;
21
21
}
22
22
23
- if [[ " $TRAVIS_OS_NAME " = " osx" ]]; then brew install ; gnu-sed; alias sed=gsed; fi
24
-
25
23
# ------------------------------------------------------------
26
24
# seq
27
25
# ------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments