-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
51 lines (42 loc) · 2.57 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
dist: trusty
language: "perl"
perl:
- "5.14"
sudo: required
services:
- docker
- mysql
addons:
apt:
packages:
- graphviz
before_install:
- git clone --branch main --depth 1 https://github.com/Ensembl/ensembl-hive.git
- sudo cp -p travisci/mysql_listen_on_all_interfaces.cnf /etc/mysql/conf.d/
- sudo service mysql restart
- sleep 10
- mysql -u root -h localhost -e 'GRANT ALL PRIVILEGES ON *.* TO "travis"@"%"'
- mysql -hlocalhost -utravis -e "SET GLOBAL sql_mode = 'TRADITIONAL'"
- mysql --version
- sudo cat /etc/default/docker
- sudo sed -i 's/127.0.0.1/0.0.0.0/' /etc/default/docker
- sudo cat /etc/default/docker
- sudo service docker restart
- sleep 10
- env
install:
- cpanm -v --installdeps --with-recommends --notest --cpanfile ensembl-hive/cpanfile .
- docker pull ensemblorg/ensembl-hive-docker-swarm
- cp -a modules travisci/
- docker build -t ensemblorg/ensembl-hive-docker-swarm-for-travis travisci/
- docker swarm init
- cp -p travisci/hive_config.json $HOME/.hive_config.json
script: "./travisci/run_tests.sh"
notifications:
slack:
rooms:
# coregithub
- secure: gbyGtAHiHBXgTuoX62FhK3r9Z2ol4uDY63ph2Ex2egTSb7GJqnzTL8RW6cCLRzECxlbLD5/327P8qcUsSvRp7xWCVGlsYwuISqUrv/+huPVQYp2zlAgbZla1/omPEdJMigjUTMex6HvRCYS4EWeKOehHYBR8DEsiz2/Fr5AKjZ5mZDCSVuIFGnYnxb5hlnuuaxiqrSsbQ5RqTeBP/HRnAcCcllemtmzjZODEuGindD9sapkcZmxQKdspACrnxu2EzoO2UYWZEofgoYFPBtyT50O9vfKudSRChm9YXfsWL37Zur8iqYUj9vBirjM4JVPJlPPfX+J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