forked from rundeck/rundeck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (37 loc) · 1.07 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
language: java
env: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=192m" GRADLE_OPTS="-Xmx1024m -XX:MaxPermSize=192m" TERM="dumb"
jdk:
- oraclejdk8
#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 && DOCKER_COMPOSE_SPEC=docker-compose-api-mysql.yaml bash run-docker-api-tests.sh && bash run-docker-tests.sh && bash run-docker-ssl-tests.sh && bash run-docker-ansible-tests.sh'
addons:
hostname: rdbuild
apt:
packages:
- groovy
- rpm
- make
- zip
- unzip
- fakeroot
#- xmlstarlet #once added to whitelist
#- jq #once added to whitelist
# whitelist
branches:
only:
- master
- '2.7.x'
- 'prerelease-2.9.0'
notifications:
irc:
- "irc.freenode.org#rundeck"
#email: false