-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
27 lines (23 loc) · 828 Bytes
/
.travis.yml
File metadata and controls
27 lines (23 loc) · 828 Bytes
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
# The optimizationBenchmarking.org tool suite is a Java Project
language: java
# By default, it runs under Java 7
jdk:
- oraclejdk7
- openjdk7
- oraclejdk8
# Cache Maven dependencies to speed up builds.
cache:
directories:
- $HOME/.m2
# 1. fix for buffer overflows in getLocalHostName
# https://github.com/travis-ci/travis-ci/issues/5227
# 2. load base project
before_install:
- cat /etc/hosts # optionally check the content *before*
- sudo hostname "$(hostname | cut -c1-63)"
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
- cat /etc/hosts # optionally check the content *after*
- chmod 755 "buildDependencies.sh"
- "./buildDependencies.sh"
# custom build step
script: mvn -C -B compile package test install