forked from GoogleCloudPlatform/runtimes-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (29 loc) · 787 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
sudo: required
dist: trusty
language: java
python:
- "2.7"
language: go
go:
- 1.8.1
go_import_path: github.com/GoogleCloudPlatform/runtimes-common
jdk:
- oraclejdk8
env:
- NODE_VERSION="6.11.4"
before_install:
- pip install --user --upgrade -r requirements.txt
- nvm install $NODE_VERSION
addons:
apt:
sources:
- sourceline: 'deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8'
key_url: 'https://storage.googleapis.com/bazel-apt/doc/apt-key.pub.gpg'
packages:
- bazel
install:
- export PATH=$PATH:$HOME/bin && mkdir -p $HOME/bin
- wget https://github.com/bazelbuild/buildtools/releases/download/0.11.1/buildifier && chmod +x buildifier && mv buildifier $HOME/bin/
- pip install wheel
script:
- ./test.sh