-
Notifications
You must be signed in to change notification settings - Fork 30
/
.travis.yml
107 lines (98 loc) · 3.15 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
notifications:
email: false
matrix:
include:
- language: c
name: "C/Linux"
os: linux
install:
- chmod +x ./bin/travis/compile_soak.sh
- chmod +x ./bin/travis/run_soak.sh
script:
- CPP_COMPILE=OFF ./bin/travis/compile_soak.sh
- ./bin/travis/run_soak.sh
- language: c
name: "C/OSX"
os: osx
install:
- chmod +x ./bin/travis/compile_soak.sh
- chmod +x ./bin/travis/run_soak.sh
script:
- CPP_COMPILE=OFF ./bin/travis/compile_soak.sh
- ./bin/travis/run_soak.sh
- language: c
name: "C/Windows (MinGW)"
os: windows
env:
- CMAKE_GENERATOR="MinGW Makefiles"
install:
- chmod +x ./bin/travis/compile_soak.sh
- chmod +x ./bin/travis/run_soak.sh
script:
- CPP_COMPILE=OFF ./bin/travis/compile_soak.sh
- ./bin/travis/run_soak.sh
- language: c
name: "C/Windows (MSVC)"
os: windows
env:
- CMAKE_GENERATOR="Visual Studio 16 2019"
install:
- chmod +x ./bin/travis/compile_soak.sh
- chmod +x ./bin/travis/run_soak.sh
- choco install visualstudio2019buildtools --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
script:
- CPP_COMPILE=OFF ./bin/travis/compile_soak.sh
# - ./bin/travis/run_soak.sh
- language: cpp
name: "CPP/Linux"
os: linux
install:
- chmod +x ./bin/travis/compile_soak.sh
- chmod +x ./bin/travis/run_soak.sh
script:
- CPP_COMPILE=ON ./bin/travis/compile_soak.sh
- ./bin/travis/run_soak.sh
- language: cpp
name: "CPP/OSX"
os: osx
install:
- chmod +x ./bin/travis/compile_soak.sh
- chmod +x ./bin/travis/run_soak.sh
script:
- CPP_COMPILE=ON ./bin/travis/compile_soak.sh
- ./bin/travis/run_soak.sh
- language: cpp
name: "CPP/Windows (MinGW)"
os: windows
env:
- CMAKE_GENERATOR="MinGW Makefiles"
install:
- chmod +x ./bin/travis/compile_soak.sh
- chmod +x ./bin/travis/run_soak.sh
script:
- CPP_COMPILE=ON ./bin/travis/compile_soak.sh
- ./bin/travis/run_soak.sh
- language: cpp
name: "CPP/Windows (MSVC)"
os: windows
env:
- CMAKE_GENERATOR="Visual Studio 16 2019"
install:
- chmod +x ./bin/travis/compile_soak.sh
- chmod +x ./bin/travis/run_soak.sh
- choco install visualstudio2019buildtools --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
script:
- CPP_COMPILE=ON ./bin/travis/compile_soak.sh
# - ./bin/travis/run_soak.sh
- language: node_js
name: "C/Emscripten"
node_js:
- node
sudo: required
services:
- docker
before_install:
- docker run -dit --name emscripten -v $(pwd):/nbnet trzeci/emscripten:latest bash
script:
- docker exec -it -e EMSCRIPTEN=1 -e CPP_COMPILE=OFF emscripten /nbnet/bin/travis/compile_soak.sh
- docker exec -it -e EMSCRIPTEN=1 -e CPP_COMPILE=OFF emscripten /nbnet/bin/travis/run_soak.sh