forked from waynr/puppetdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
76 lines (63 loc) · 1.81 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
language: clojure
lein: 2.7.1
# Always explicitly set sudo. Otherwise travis' defaults may vary
# based on when the repository testing was enabled.
sudo: required
matrix:
include:
# terminus unit tests (spec tests)
- env: >
NAME=rspec-puppet-4.0
PDB_TEST_LANG=ruby
PUPPET_VERSION=4.0.0
- env: >
NAME=rspec-puppet-latest
PDB_TEST_LANG=ruby
PUPPET_VERSION=latest
# pdb unit tests
- env: >
NAME=unit-openjdk7
PDB_TEST_LANG=clojure
PDB_TEST_SELECTOR=:unit
jdk: openjdk7
- env: >
NAME=unit-oracle7
PDB_TEST_LANG=clojure
PDB_TEST_SELECTOR=:unit
jdk: oraclejdk7
- env: >
NAME=unit-oracle8
PDB_TEST_LANG=clojure
PDB_TEST_SELECTOR=:unit
jdk: oraclejdk8
# pdb + terminus + puppetserver + puppet integration tests
- env: >
NAME=integration-stable
PDB_TEST_LANG=clojure
PDB_TEST_SELECTOR=:integration
PUPPET_VERSION=4.8.0
PUPPETSERVER_VERSION=2.7.2
jdk: oraclejdk8
- env: >
NAME=integration-head
PDB_TEST_LANG=clojure
PDB_TEST_SELECTOR=:integration
PUPPET_VERSION=latest
PUPPETSERVER_VERSION=master
jdk: oraclejdk8
before_install: ext/travisci/install_puppetserver.sh
script: ext/travisci/test.sh
notifications:
email: false
# Host addons handle buffer overflow in jdk 7 with travis' long
# hostnames:
# https://github.com/travis-ci/travis-ci/issues/5227#issuecomment-165131913
# http://mail.openjdk.java.net/pipermail/net-dev/2012-July/004603.html
# http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7089443
# http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7112670
addons:
hosts:
- pdbtest
hostname: pdbtest
postgresql: "9.4"
services: postgresql