forked from openedx-unsupported/devstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (37 loc) · 902 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
sudo: required
language: python
python:
- 3.5
- 3.8
branches:
only:
- master
env:
global:
- DEVSTACK_WORKSPACE=/tmp
- SHALLOW_CLONE=1
matrix:
- SERVICES=discovery+lms+forum # provision.sh should ensure LMS provisions first.
- SERVICES=registrar+lms
- SERVICES=ecommerce
- SERVICES=edx_notes_api
- SERVICES=credentials
- SERVICES=xqueue
- SERVICES=marketing
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.https
- make dev.pull."$SERVICES"
script:
- set -e # If one of these commands fails, exit immediately.
- make dev.provision."$SERVICES"
- make dev.up."$SERVICES"
- make dev.check."$SERVICES"