forked from devosoft/Empirical
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
82 lines (78 loc) · 2.9 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
sudo: required
dist: xenial
language: cpp
notifications:
email: false
slack:
on_pull_requests: false
on_failure: always
on_success: always
rooms:
- secure: UC8Bsb6n2WAnKdUwzGo/QwDEhSyKbJFUZCVYem11o8JpXz/PB/vLTNIt/0xhbkoAwGMivAH6i6AeLx4HhMShnt5iWq1GK5Toh+uScp1BqT3M4XnoQbmiuhKKeFJhcoFaASGIoylURXAd65fVaojSul0Lx/pztkYzNQ1FUvcwtpA/guxJ9TE5M2Vmp81T5h74InJCW8eh30UJUlWkHdChK4RxnBgDic9vmn6/DGMWBIdGDbceF3PtOHQUk3E363LFDF6Ij0rOx5oXCm0YsSblvNRxFR9MOVX2YAKPy+dM5Kx0IRlIH+yYG9heH207+cfDg4LP7PiV0eCPh5gw8s7FHr89/fM8Mubh6X+l6Wbjla4waAdMhfSdI1vGxxq5uYTEtpfzsaNNQpfMnxe4eLEpdw3FgUA6xUdSS00dkBG1RoLTtqYSGCfEkKBwzmwwbEU77SYCKu+cjtjgBJSiwC0+Dxje4Y3tb5gDLCKbDArbPWiaqaqVPtRtUbSSP7qIt9e1DaAbcJO2nun+G8y1EdHoUNWbCVqZ/70l33Oo4ssm4d38xuAqFcKv1PH+7zv8Yql4uZIDBJz8G8aVvHMlBfrKRghDakWBrKX9rFbNen5IxuV/vMF051tHc0CWlO3HQjphH5ST1/eNjywGl107VLP9HzkZzqDBKcxcSGMLi7QC7F0=
compiler:
- g++
- clang++
env:
- TEST_SET=test-web
- TEST_SET=test-native-regular
- TEST_SET=test-native-fulldebug
- TEST_SET=test-native-opt
- TEST_SET=test-examples
- TEST_SET=test-cookiecutter
python:
- '3.5'
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get install -qq g++-8 cmake build-essential python-virtualenv python-pip nodejs tar gzip libpthread-stubs0-dev libc6-dbg gdb
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
- export python="/usr/bin/python"
- git fetch origin master:refs/remotes/origin/master
- npm install source-map
- make install-test-dependencies
- source third-party/emsdk/emsdk_env.sh
services:
- xvfb
before_script:
- ${CXX} --version
script:
- make ${TEST_SET} CXX=${CXX}
jobs:
include:
- stage: test
name: documentation
compiler: clang++
addons:
apt:
packages:
- cmake
- build-essential
- bison
- python-virtualenv
- python-pip
- tar
- gzip
before_script:
- git fetch origin master:refs/remotes/origin/master
- make install-doc-dependencies
script: make doc
- stage: test
name: coverage
compiler: clang++
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
- sudo apt-add-repository "deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main"
- sudo apt-get update -qq
install:
- sudo apt-get install -qq g++-8
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
- sudo apt-get install cmake build-essential python-virtualenv python-pip nodejs tar gzip libclang-7-dev llvm-7 clang-7 libstdc++-7-dev # might have to happen after we update g++
before_script:
- git fetch origin master:refs/remotes/origin/master
- make install-test-dependencies
- make install-coverage-dependencies
script: make coverage CXX=${CXX}
after_success:
- curl -s https://codecov.io/bash | bash