-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
executable file
·52 lines (46 loc) · 1.25 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
language: cpp
sudo: false
dist: trusty
compiler:
- clang++
os:
- linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'deb http://ppa.launchpad.net/keithw/glfw3/ubuntu trusty main'
packages:
- lcov
# - libglfw3
# - libglfw3-dev
- ninja-build
- xorg-dev
- libglu1-mesa-dev
- apt-transport-https
- libunwind8
branches:
only:
- master
before_install:
- wget -q https://packages.microsoft.com/config/ubuntu/14.04/packages-microsoft-prod.deb
- sudo dpkg -i packages-microsoft-prod.deb
- sudo apt-get update
- sudo apt-get install dotnet-sdk-2.1
script:
- cd CodekraftBuildTool
- ./build-and-install.sh
- cd ..
- ckb -i engine/
- ckb testgame/
after_success:
# Creating report
- cd ${TRAVIS_BUILD_DIR}
- lcov --directory . --capture --output-file coverage.info # capture coverage info
- lcov --remove coverage.info '/usr/*' --output-file coverage.info # filter out system
- lcov --list coverage.info #debug info
# Uploading report to CodeCov
- bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"
env:
global:
- LANG="en_US.UTF-8"