forked from rundeck/rundeck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (36 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
33
34
35
36
37
language: java
env: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=192m" GRADLE_OPTS="-Xmx1024m -XX:MaxPermSize=192m" TERM="dumb"
jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
#sudo: false
# can uncomment above after resolution of https://github.com/travis-ci/travis-ci/issues/3120
sudo: required
services:
- docker
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y xmlstarlet jq
- sudo chsh --shell $(which bash)
script:
- './gradlew clean build && groovy testbuild.groovy -gradle && make TAG=SNAPSHOT BUILD_NUM=$TRAVIS_BUILD_NUMBER rpm deb && bash run-api-tests.sh && bash run-docker-tests.sh'
addons:
hostname: rdbuild
apt:
packages:
- groovy
- rpm
- make
- zip
- unzip
#- xmlstarlet #once added to whitelist
#- jq #once added to whitelist
# whitelist
branches:
only:
- master
notifications:
irc:
- "irc.freenode.org#rundeck"
#email: false