-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
99 lines (99 loc) · 2.84 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
branches:
only: master
env:
global:
- GH_REPO_NAME: Sleipnir
- GH_REPO_REF: github.com/Godlike/Sleipnir.git
- BUILD_DIR: build
sudo: required
os: linux
dist: trusty
language: cpp
compiler: gcc
matrix:
exclude:
- compiler: gcc
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
env:
- COMPILER=g++-6
- CMAKE_BUILD_TYPE=Debug
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
env:
- COMPILER=g++-6
- CMAKE_BUILD_TYPE=Release
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.9
packages:
- clang-3.9
- g++-6
env:
- COMPILER=clang++-3.9
- CMAKE_BUILD_TYPE=Debug
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.9
packages:
- clang-3.9
- g++-6
env:
- COMPILER=clang++-3.9
- CMAKE_BUILD_TYPE=Release
git:
submodules: false
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libx11-xcb-dev libxrandr-dev libxinerama-dev libxcursor-dev
libxi-dev
- git submodule update --init --recursive
- wget -O vulkan.run "https://vulkan.lunarg.com/sdk/download/1.0.65.0/linux/vulkansdk-linux-x86_64-1.0.65.0.run"
- chmod ugo+x vulkan.run
- "./vulkan.run"
- export VULKAN_SDK=$(pwd)/VulkanSDK/1.0.65.0/x86_64
- export PATH=$PATH:$VULKAN_SDK/bin
- export LD_LIBRARY_PATH=$VULKAN_SDK/lib
- export VK_LAYER_PATH=$VULKAN_SDK/etc/explicit_layer.d
script:
- cd $TRAVIS_BUILD_DIR
- chmod +x travisBuildScript.sh
- "./travisBuildScript.sh"
after_success:
- cd $TRAVIS_BUILD_DIR/$BUILD_DIR
- export SLEIPNIR_VERSION=`cat version`
notifications:
email:
recipients:
on_success: change
on_failure: always
deploy:
provider: releases
api_key:
secure: SK03cZ291r9bt9kIwJQNdfxUnlfMuxHLGwl+9+7NEk8BT3PgML09ETs2DDOOO8un4hZC57MaMqjigtzQdzOaHbg5IM7CZU4JK+F5qrOJzZ7/WlNX5jTFE/l4YWuZX3FsKJwlQh3ZSBzPskDXcQqfyuLgLLEZKSwOcDIj5paHAigu3IJieMuiDWrOGF+w0/45axPJuyrefcnGD0CRLSt/b+MzBYiIdFjqlirm+dUXPN2HcfjxRwgaKUXo6gNzRyflNzEbjIBXPyYMImsj/4QhKkeTa3HU8JEfZDDv4GOK87plMuqrUOpPPl6Uo0DaaIeH2YyzkXDlEvkcdfjYlrJn35lrmS24slzDUtHIlLz5rFMTrReK5IgxzOoh2NWwsoi/QD5UhD8w7IFfY2EErzOC0SSvYeuz5ESQfOU/YNLmDttC+h7celtz6741207rQZi71hYbUOQ58/zJEp4Wo3+H9GqycTsgB+Y7PP/y0tcJ5aML8Vkx/PaFoCJIaA2GO8DJrNgjY62yogSUbnLIqWcBaNVNRdovIpJQFTeFPX7Y4ZkQffuLud+iM6zjbXWoR8cPRji5IsDB8vQKNpErHMgySrnyExmqSI5JiyTI2hOxj/NKncUGuVXNAhxlMYWk+dfobMdnbKjNjpMK7XUM+ELkHb95MsH1ei8Lv0VXcpkZ5Eg=
file_glob: true
file: "*.deb"
name: "v$SLEIPNIR_VERSION.$TRAVIS_BUILD_NUMBER"
tag_name: "v$SLEIPNIR_VERSION.$TRAVIS_BUILD_NUMBER"
skip_cleanup: true
prerelease: true
on:
repo: Godlike/Sleipnir