-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (26 loc) · 920 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
sudo: true
dist: trusty
addons:
apt:
update: true
cache:
apt: true
ccache: true
language: cpp
services:
- docker
## SRC: https://stackoverflow.com/questions/15674064/github-submodule-access-rights-travis-ci
# Handle git submodules yourself
git:
submodules: false
# Use sed to replace the SSH URL with the public URL, then initialize submodules
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
matrix:
include:
- install: .travis-ci/install_docker.sh
script:
- .travis-ci/load_docker_image.sh 'base/archlinux' 'grimgal'
- .travis-ci/docker_bash.sh 'grimgal' 'pacman -Syu --noconfirm clang cmake boost boost-libs clang-tools-extra make qt5-base qt5-tools qt5-translations extra-cmake-modules'
- .travis-ci/docker_bash.sh 'grimgal' 'cd grimgal; mkdir build; cd build; cmake ..; make'