forked from phac-nml/irida
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (37 loc) · 894 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
38
39
40
41
42
43
44
45
46
47
sudo: required
language: java
env:
global:
- "MYSQL_DATABASE=irida_integration_test"
- "MYSQL_USER=test"
- "MYSQL_PASSWORD=test"
- "DB_MAX_WAIT_MILLIS=30000"
matrix:
- "TEST_SUITE=galaxy_testing"
- "TEST_SUITE=galaxy_pipeline_testing"
- "TEST_SUITE=ui_testing"
- "TEST_SUITE=doc_testing"
- "TEST_SUITE=service_testing"
- "TEST_SUITE=rest_testing"
services:
- docker
- mysql
addons:
chrome: stable
dist: xenial
jdk:
- openjdk11
rvm:
- 2.4.1
cache:
directories:
- $HOME/.m2
before_install:
- sudo apt-get install libgconf-2-4
install:
- mysql -e "CREATE USER '$MYSQL_USER'@'localhost' IDENTIFIED BY '$MYSQL_PASSWORD'; GRANT ALL ON $MYSQL_DATABASE.* to '$MYSQL_USER'@'localhost';"
- mvn -version
- pushd lib; ./install-libs.sh; popd
- gem install jekyll
- gem install pygments.rb
script: ./run-tests.sh $TEST_SUITE