This repository has been archived by the owner on Nov 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy path.travis.yml
64 lines (55 loc) · 1.54 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
---
language: python
python: 2.7
dist: bionic
os: linux
env:
global:
- TOX_ENV=py37
services:
- docker
before_install:
- docker --version
- docker info
- export GALAXY_HOME=/home/galaxy
- export GALAXY_TRAVIS_USER=galaxy
- export GALAXY_UID=1450
- export GALAXY_GID=1450
- sudo groupadd -r $GALAXY_TRAVIS_USER -g $GALAXY_GID
- sudo useradd -u $GALAXY_UID -r -g $GALAXY_TRAVIS_USER -d $GALAXY_HOME -p travis_testing -s /bin/bash -c "Galaxy user" $GALAXY_TRAVIS_USER
- sudo mkdir $GALAXY_HOME
- sudo chown -R $GALAXY_TRAVIS_USER:$GALAXY_TRAVIS_USER $GALAXY_HOME
install:
# Install Ansible.
- pip install ansible
- ansible --version
# Add ansible.cfg to pick up roles path.
- printf '[defaults]\nroles_path = ../' > ansible.cfg
jobs:
include:
- name: "Syntax"
env: SUITE=syntax
script:
- ansible-playbook -i "localhost," tests/syntax.yml --syntax-check
- name: "Galaxy Kickstart"
python: "3.7"
env: SUITE=galaxykickstart
script:
- bash ci_test_galaxykickstart.sh
- name: "Galaxy Docker"
python: "3.7"
env: SUITE=docker-galaxy TOX_ENV=py37
addons:
apt:
sources:
- deadsnakes
packages:
- python3.7-dev
script:
- bash ci_test_docker_galaxy.sh
# 2020.06.19: Failing because the Docker image there fails to build (python 2.7 can't install setuptools)
#- name: "Planemo Machine"
# python: "2.7"
# env: SUITE=planemo-machine
# script:
# - bash ci_test_planemo_machine.sh