forked from google-deepmind/lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (26 loc) · 917 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
# Runs Bazel tests for DeepMind Lab
env:
- BUILD_TYPE=osmesa
sudo: true
language: c++
addons:
apt:
packages:
- libffi-dev
- gettext
- freeglut3-dev
- libsdl2-dev
- libosmesa6-dev
- python-dev
- python-numpy
- python-pil
before_install:
- curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
- echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
- sudo add-apt-repository -y ppa:webupd8team/java
- sudo apt-get update
- echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
- echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections
- sudo apt-get install bazel
script:
- bazel test -c opt --copt=-Wno-maybe-uninitialized --copt=-Wno-sign-compare --show_progress_rate_limit=300 //...