forked from apache/incubator-heron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (43 loc) · 1.05 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
group: edge
sudo: required
dist: trusty
language: java
jdk:
- oraclejdk8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- gcc-4.8-multilib
- g++-4.8-multilib
- python2.7
- wget
- pkg-config
- zip
- zlib1g-dev
- google-perftools
- libgoogle-perftools-dev
env:
- BAZEL_VERSION=0.26.0 CC=gcc-4.8 CXX=g++-4.8 CPP=cpp-4.8 CXXCPP=cpp-4.8 ENABLE_HEAPCHECK=1
before_install:
# download and install bazel
- wget -q "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh"
- chmod +x bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh
- ./bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh --user
before_script:
# install python module for wheel files
# required for python packaging
- sudo pip install wheel
script:
- which gcc-4.8
- gcc --version
- which g++-4.8
- g++ --version
- which python
- python -V
- which python2.7
- python2.7 -V
- scripts/travis/ci.sh