forked from sjackman/linuxbrew-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
109 lines (106 loc) · 3.24 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
language: ruby
os: linux
rvm: 2.0.0
sudo: required
dist: trusty
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libc6-dbg libxml-parser-perl libxml-sax-perl
- DEBIAN_FRONTEND=noninteractive sudo apt-get autoremove -y --purge
bison
comerr-dev
erlang-dev
flex
libblas-dev
libbz2-dev
libdrm-dev
libexpat1-dev
libffi-dev
libfl-dev
libfontconfig1-dev
libfreetype6-dev
libgcrypt11-dev
libgdbm-dev
libgeos-dev
libgl1-mesa-dev
libgmp-dev
libice-dev
libicu-dev
libidn11-dev
libjack-dev
libjack-jackd2-0
libjack-jackd2-dev
libjack0
libjasper-dev
libjbig-dev
libjpeg8-dev
libkrb5-dev
libldap2-dev
libltdl-dev
liblzma-dev
liblzo2-dev
libmagic-dev
libmemcached-dev
libncurses5-dev
libossp-uuid-dev
libpcre3-dev
libpq-dev
libqt4-dev
libqtwebkit-dev
libsasl2-dev
libsm-dev
libsqlite0-dev
libsqlite3-dev
libtinfo-dev
libwebp-dev
libwmf-dev
libx11-dev
libxau-dev
libxcb1-dev
libxml2-dev
libyaml-dev
llvm-3.4
mysql-common
unixodbc-dev
x11proto-core-dev
x11proto-input-dev
x11proto-kb-dev
x11proto-xext-dev
zlib1g-dev
- git config --global user.name "Travis CI"
- git config --global user.email "[email protected]"
- export TRAVIS_COMMIT="$(git rev-parse --verify -q HEAD)"
- if [ -f ".git/shallow" ]; then
travis_retry git fetch --unshallow;
fi
- HOME=/home/linuxbrew
- sudo mkdir $HOME
- sudo chown "$USER:" $HOME
- LINUXBREW=$HOME/.linuxbrew
- mkdir -p $LINUXBREW/bin
- git clone --depth=1 https://github.com/Linuxbrew/brew "$LINUXBREW/Homebrew"
- ln -s ../Homebrew/bin/brew /home/linuxbrew/.linuxbrew/bin/
- export PATH="$LINUXBREW/bin:$LINUXBREW/sbin:$PATH"
- HOMEBREW_TAP_DIR="$(brew --repo "$TRAVIS_REPO_SLUG")"
- rm -rf "$HOMEBREW_TAP_DIR"
- mkdir -p "$(dirname "$HOMEBREW_TAP_DIR")"
- ln -s "$PWD" "$HOMEBREW_TAP_DIR"
# Fix error: Incorrect file permissions (664)
- chmod 0644 Formula/*.rb
- umask 022
- export HOMEBREW_DEVELOPER=1
- export HOMEBREW_NO_AUTO_UPDATE=1
- export HOMEBREW_VERBOSE=1 HOMEBREW_VERBOSE_USING_DOTS=1
- env | grep TRAVIS | tee /tmp/travis.env
- ulimit -n 1024
- brew tap homebrew/science
- brew tap linuxbrew/extra
- brew tap linuxbrew/xorg
script:
- brew test-bot
notifications:
slack:
secure: PvK4LXijxgFTbT6SvWUveluJdbe7AfnJ+Ip/xb2gVRsq71DHSi96OtaEZq+qAvU6UU07VaCY/55cTb+HZE1twCOE4aE4l6iJONVmwIb+s9bGQfV9+H/r+y+J1EJzIzAfTbsn4mGJpkG9e2326c0vGcM/lFpHH0qarhOEYs4jLt17Ijg4mk+I5jLIOZ2vZsC7IZ0W8oe7Qzomyyfzj5XW2kUa41e8CgZf4byqAvnVpPpfvkm/rODGPREOmcpOr2Pu8fhNLrswXRlhgakZgi5JPPdaRocIhnbRbyqE2Qngnlk/wzno1e3NZYDcxTa5xAgAa5h/TIpyLeB/pXfpc1n5RuP7BjA/mZSYaG5Dg1IIvGPu/23+HlZ9umMn0E0f5j3EsV66CwErJGChm6hN7xPAxLz1Mj9v2E3CIDjyYcg/aZ+O27oaUlGoBGrX51g8poq6LhG+SxHx/VkDAJ+X4T56EQYTCA+ezEIs6KdWZl7AB4ztHqTe7w4YJIIhh509iViFKX4pJdQnajNf97IvRl9hHsLa9k9GuLWOQvxjkEJ/1LSfVkNEfPxHd2btIVdg6DQsVrxyfwufF+KlQDKNHR4Jbz+KEvrWIbXWQAj+2g7xwj5l2/Tyv69gR7FqBpSxh+Ue7wrWrVCIkzn/BEU4H0nHGR5D4dOwmgiOxXVhEZjYqjU=
email:
on_success: never
on_failure: always