forked from openpreserve/plato
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (19 loc) · 836 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
language: java
# activate profile no-integration-tests so test sources and their dependencies can be excluded from build
# (there is no jboss server installed on travis anyway)
# deactivate profile integration-tests (it is active by default)
script: mvn clean install -B -P no-integration-tests,-integration-tests
branches:
only:
- master
- integration
jdk:
# Sun/Oracle JDK 6 is EOL since November 2012, and is no longer supported. Please consider upgrading...
# - oraclejdk6
- oraclejdk7
- openjdk7
before_script:
- mysql -e 'create database idpdbtest;'
- mysql -uroot -e 'GRANT ALL PRIVILEGES ON idpdbtest.* TO idptest@localhost IDENTIFIED BY "idptest";'
- mysql -e 'create database platodbtest;'
- mysql -uroot -e 'GRANT ALL PRIVILEGES ON platodbtest.* TO platotest@localhost IDENTIFIED BY "platotest";'