forked from Stanford-Online/configuration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (30 loc) · 791 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
# Travis CI configuration file for running tests
language: python
python:
- "2.7"
branches:
only:
- master
services:
- docker
addons:
apt:
packages:
- nodejs
- python-demjson
before_install:
- sudo apt-get -y update
- sudo apt-get -y install -o Dpkg::Options::="--force-confold" docker-ce
install:
- "pip install --allow-all-external -r requirements.txt"
- "pip install --allow-all-external demjson"
env:
- MAKE_TARGET=test.syntax
- MAKE_TARGET=test.edx_east_roles
- MAKE_TARGET=docker.test.shard SHARD=0 SHARDS=3
- MAKE_TARGET=docker.test.shard SHARD=1 SHARDS=3
- MAKE_TARGET=docker.test.shard SHARD=2 SHARDS=3
script:
- docker --version
- make --version
- travis_wait 50 make --keep-going $MAKE_TARGET SHARD=$SHARD SHARDS=$SHARDS