forked from ARTbio/GalaxyKickStart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (41 loc) · 2.24 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
language: python
python: 2.7
dist: xenial
sudo: required
env:
global:
- SITE_URL="https://artbio.github.io/GalaxyKickStart/"
- GH_USER_NAME="Christophe Antoniewski"
- GH_USER_EMAIL="[email protected]"
- GH_REF="github.com/ARTbio/GalaxyKickStart.git"
- GALAXY_TRAVIS_USER="galaxy"
- GALAXY_UID="1450"
- GALAXY_GID="1450"
- GALAXY_HOME="/home/galaxy"
- GALAXY_USER="[email protected]"
- GALAXY_USER_EMAIL="[email protected]"
- GALAXY_USER_PASSWD="admin"
- GALAXY_VERSION=release_18.09
- BIOBLEND_GALAXY_API_KEY="admin"
- BIOBLEND_TEST_JOB_TIMEOUT="200"
- secure: VM+MmxZP70z0LABwxm+qWOjXSzfOQB7FxL6rWCkWOz9wKqZtEme8iPuT8uXd3x+fk0rtgzhiwri4wky/AeSzUO2MHmUKUyaMoN3Whz5CcIH6LVPgAc2aiZj/tw22wTYGLmP+4F5kK6xNrRiB1zwl0gmt3muKHRF+KLnND1dpsFLByGlEeGUFuvU64t6hAi+gvORbmKlGgn1wdi0pbdtyLKGi+efG9HWkIefOt2gVobLxBNZT4HWqWHK9I40UjWY3GSjQDvj5xFz6JKFM1ZCc06xI/94Td2ZZIOtiM5fIy6HFbPA6AjVpQ8B0Y45q5UF+yx+Y910ko7giCD23qS8dAX2SfpHktwzqgjxNc+IKfCquihmgagLHZycaHfmqweTxk9Fn/nc9zAhYTKMSwdd2h4aMJGsjHkitUf1G3O9/Gd6D0A+3AijXyet9MJ2NbLuDhXycGRVmX2zNXwaWjSbLPuat94F38O0uzG8Q7oOPElfEwik28DhpHBrDsDQeJhvytG1Hfgw85IJJeNwPAzloq8+idqUwZ7fxaM2eT0WPEZG26Hooi1UYeXdpil1TFV1trFtS6JD2xl/3JSZA2Ls9ARIKgbIJw2WN8FzJc0rzGyCOjDHEur9eyw2MVbzEooAS2l95xzEZqdvb4pCe8LQZ5S4wBIX0xMSmBUTW/lBpK4Y=
jobs:
include:
- stage: docker
env:
- TRAVIS_JOB=docker-build
- BIOBLEND_GALAXY_URL="http://localhost:80/subdir/"
- stage: ansible
env:
- TRAVIS_JOB=ansible-test
- BIOBLEND_GALAXY_URL="http://localhost:80"
before_install:
- pip install ansible==2.7.4
- if [[ "$TRAVIS_BRANCH" == *"test_upstream_ansibles"* ]]; then mv upstream_requirements_roles.yml requirements_roles.yml; fi
- if [ "$TRAVIS_JOB" = "ansible-test" ]; then . ./travis_scripts/before_install_ansible.sh; fi
- if [ "$TRAVIS_JOB" = "docker-build" ]; then . ./travis_scripts/before_install_docker.sh; fi
install:
- sudo su $GALAXY_TRAVIS_USER -c 'pip install --ignore-installed --user https://github.com/galaxyproject/bioblend/archive/master.zip pytest'
script:
- if [ "$TRAVIS_JOB" = "ansible-test" ]; then . ./travis_scripts/script_ansible.sh; fi
- if [ "$TRAVIS_JOB" = "docker-build" ]; then . ./travis_scripts/script_docker.sh; bash ./travis_scripts/deploy.sh; fi