forked from bioconda/bioconda-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (43 loc) · 1.21 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
language: generic
sudo: required
services:
- docker
before_install:
- set -e
- |
if [ "$TRAVIS_OS_NAME" == "linux" ]
then
rm -rf /home/travis/perl5/ /home/travis/.phpenv /home/travis/gopath /home/travis/otp
rm -rf /home/travis/.gimme/ /home/travis/.rvm /home/travis/.nvm
fi
install: scripts/travis-setup.sh
jobs:
include:
# in forks, master and bulk, we run osx and linux in parallel on each push
- stage: Linux+macOS
if: (type = push) AND ((branch IN (master, bulk)) OR (fork = true))
os: linux
script: scripts/travis-run.sh
- os: osx
if: (type = push) AND ((branch IN (master, bulk)) OR (fork = true))
script: scripts/travis-run.sh
# in pull requests, we first run linux and only if that succeeds, we run osx
- stage: Linux
if: type = pull_request
os: linux
script: scripts/travis-run.sh
- stage: macOS
if: type = pull_request
os: osx
script: scripts/travis-run.sh
env:
global:
- SUBDAGS=1
- BIOCONDA_UTILS_TAG=master
- BIOCONDA_UTILS_BUILD_ARGS="--loglevel=info"
- BIOCONDA_UTILS_LINT_ARGS=
- MINICONDA_VER="4.3.21"
matrix:
- SUBDAG=0
matrix:
fast_finish: true