forked from StanfordSNR/pantheon
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
40 lines (34 loc) · 1.13 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
language: python
sudo: required
services: docker
branches:
only:
- master
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-7
- g++-7
install:
- sudo apt-get update -q
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 99
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 99
- pip install matplotlib numpy tabulate pyyaml tensorflow
env:
matrix:
- CMD='test/setup.py --schemes quic --install-deps &&
test/setup.py --schemes quic --setup &&
test/test.py local --schemes quic -t 10'
- CMD='SCHEMES="default_tcp vegas bbr ledbat pcc verus sprout webrtc
scream copa taova calibrated_koho indigo fillp vivace_latency pcc_experimental" &&
test/setup.py --schemes "$SCHEMES" --install-deps &&
test/setup.py --schemes "$SCHEMES" --setup &&
analysis/tests/test_analyze.py --schemes "$SCHEMES"'
script:
- ./install_deps.sh && eval $CMD
notifications:
email: false
webhooks:
- https://snr.zulipchat.com/api/v1/external/travis?api_key=AtzK5F9kaHRKDQKNbD4ujZCTQTm91B5j&stream=pantheon-notification&topic=build-status