forked from openedx-unsupported/configuration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (30 loc) · 798 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
# Travis CI configuration file for running tests
language: python
branches:
only:
- master
python:
- "2.7"
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-engine
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