forked from apache/incubator-heron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (39 loc) · 1002 Bytes
/
.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
group: edge
sudo: required
language: java
jdk:
- oraclejdk8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- python2.7
- wget
- pkg-config
- zip
- zlib1g-dev
env:
- CC=gcc-4.8 CXX=g++-4.8 CPP=cpp-4.8 CXXCPP=cpp-4.8
before_install:
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
# download and install bazel
- wget -q 'https://github.com/bazelbuild/bazel/releases/download/0.3.1/bazel-0.3.1-installer-linux-x86_64.sh'
- chmod +x bazel-0.3.1-installer-linux-x86_64.sh
- ./bazel-0.3.1-installer-linux-x86_64.sh --user
before_script:
# required for building the website docs
- (cd website && npm install && npm install gulp && which gulp)
- wget -q https://github.com/spf13/hugo/releases/download/v0.15/hugo_0.15_amd64.deb
- sudo dpkg -i hugo*.deb
- hugo version
script:
- which gcc-4.8
- gcc --version
- which g++-4.8
- g++ --version
- scripts/travis/ci.sh