forked from net64-mod/net64-coop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (37 loc) · 875 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
39
language: cpp
matrix:
include:
- env: NAME="linux gcc"
os: linux
dist: bionic
compiler: gcc
sudo: required
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
- cmake
- qtbase5-dev
- qtbase5-dev-tools
- libsdl2-dev
before_script:
- mkdir build
- cd build
- export CC=gcc-8
- export CXX=g++-8
- cmake .. -DCMAKE_CXX_COMPILER=g++-8 -DCMAKE_C_COMPILER=gcc-8
script:
- make
- make install
- bash ../scripts/create_appimage.sh install
- env: NAME="clang-format"
os: linux
dist: bionic
sudo: required
addons:
apt:
packages:
- clang-format-9
script: "bash scripts/clang-format-pr-check.sh"