forked from google/graphicsfuzz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
86 lines (76 loc) · 2.77 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
# Copyright 2018 The GraphicsFuzz Project Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
language: generic
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.m2/
- $HOME/.gradle/caches/modules-2/
- $HOME/.gradle/wrapper/
- $HOME/android-sdk/
# -Dorg.gradle.daemon=false:
# Disabling the gradle daemon is helpful to make sure the build process terminates so we can
# cache $HOME/.gradle files.
# -Djava.net.preferIPv4Stack=true
# Probably not needed but can help with the issue where Maven dependency downloading freezes.
# -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
# Increase log level of the "Download*" messages from Maven so they are hidden.
env:
global:
- GRADLE_OPTS="-Dorg.gradle.daemon=false"
- MAVEN_OPTS="-Djava.net.preferIPv4Stack=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
matrix:
include:
- os: linux
dist: trusty
sudo: required
addons:
apt:
sources:
- deadsnakes
packages:
- python3.5
env:
- TITLE="GraphicsFuzz tools"
script:
- export PYTHON_GF="python3.5"
- jdk_switcher use openjdk8 && build/travis/travis-release-graphicsfuzz.sh
- os: linux
dist: trusty
sudo: required
addons:
apt:
sources:
- deadsnakes
packages:
- python3.5
env:
- TITLE="GLES and Vulkan workers"
script:
- export PYTHON_GF="python3.5"
- jdk_switcher use openjdk8 && build/travis/travis-release-android-related.sh
# Docker build. Not currently needed but can be useful as it is faster than installing many
# packages.
# - os: linux
# dist: trusty
# sudo: required
# language: minimal
# env:
# - TITLE="Docker build"
# script:
# - export BUILD_SCRIPT="build/travis/travis-release-graphicsfuzz.sh"
# - docker build -t temp-image -f build/travis/docker-images/runner-image.dockerfile .
# - docker create -it -e GITHUB_TOKEN -e BUILD_SCRIPT -e TRAVIS_TAG -e TRAVIS_PULL_REQUEST -e TRAVIS_COMMIT --name temp-container temp-image
# - docker start -ia temp-container