forked from openedx-unsupported/devstack
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
41 lines (33 loc) · 957 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
sudo: required
language: python
python:
- "3.6"
branches:
only:
- master
env:
- DEVSTACK_WORKSPACE=/tmp SHALLOW_CLONE=1 DEVSTACK='lms'
- DEVSTACK_WORKSPACE=/tmp SHALLOW_CLONE=1 DEVSTACK='registrar'
- DEVSTACK_WORKSPACE=/tmp SHALLOW_CLONE=1 DEVSTACK='ecommerce'
- DEVSTACK_WORKSPACE=/tmp SHALLOW_CLONE=1 DEVSTACK='edx_notes_api'
- DEVSTACK_WORKSPACE=/tmp SHALLOW_CLONE=1 DEVSTACK='credentials'
- DEVSTACK_WORKSPACE=/tmp SHALLOW_CLONE=1 DEVSTACK='analytics_pipeline'
services:
- docker
before_install:
# Upgrade Docker to the latest version
- docker version
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
- docker version
- docker-compose --version
- make requirements
- make dev.clone
- |
if [[ $DEVSTACK == 'analytics_pipeline' ]]; then
make dev.up.analytics_pipeline
else
make dev.pull.${DEVSTACK}
fi
script:
- "./.travis/run.sh"