forked from git-lfs/git-lfs
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
70 lines (62 loc) · 1.36 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
60
61
62
63
64
65
66
67
68
69
70
# http://docs.travis-ci.com/user/languages/go/
language: go
go: 1.6
os:
- linux
- osx
env:
global:
- GIT_LFS_TEST_DIR="$HOME/git-lfs-tests"
matrix:
fast_finish: true
allow_failures:
- os: osx
include:
- env: git-latest
os: linux
addons:
apt:
sources:
- git-core
packages:
- git
- env: git-latest
os: osx
# The 'before_install' phase cannot be used here as we would override the
# default 'before_install' phase. The 'before_script' phase is sufficient
# for the Git install since the Git binary is only used in the tests.
before_script:
- >
brew update;
brew install git;
- env: git-latest-go-1.5
os: linux
go: 1.5
addons:
apt:
sources:
- git-core
packages:
- git
- env: git-latest-go-1.5
os: osx
go: 1.5
before_script:
- >
brew update;
brew install git;
before_install:
- >
repo=`basename $PWD`;
localDir=`dirname $PWD`;
cfDir="`dirname $localDir`/github";
if [[ "$localDir" != "$cfDir" ]];
then
mv "$localDir" "$cfDir";
cd ../../github/$repo;
export TRAVIS_BUILD_DIR=`dirname $TRAVIS_BUILD_DIR`/$repo;
fi;
install: true
script: script/cibuild
notifications:
email: false