forked from Vita3K/Vita3K
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
74 lines (70 loc) · 2.78 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
language: cpp
cache: ccache
matrix:
include:
- os: osx
osx_image: xcode9.3
install:
- brew install ccache
- export PATH="/usr/local/opt/ccache/libexec:$PATH"
before_script:
- export CMAKE=cmake
before_deploy:
- git config --global user.email "[email protected]"
- git config --global user.name "Travis CI"
- cd ${TRAVIS_BUILD_DIR}/build/bin
- zip -r Vita3K-mac-nightly.zip Vita3K.app
deploy:
provider: script
overwrite: true
skip_cleanup: true
script: bash $TRAVIS_BUILD_DIR/deploy-mac-nightly.sh
on:
repo: Vita3K/Vita3K
tags: false
- os: linux
dist: trusty
addons:
apt:
update: true
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-7
- g++-7
- binutils-2.26
- libboost-all-dev
before_script:
- mkdir tmp && cd tmp
- curl -Ls https://www.archlinux.org/packages/extra/x86_64/sdl2/download | tar xJ
- sudo cp -r usr/* /usr/local/
- cd .. && rm -rf tmp
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 90
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90
- curl -Ls https://cmake.org/files/v3.10/cmake-3.10.3-Linux-x86_64.sh -o cmake-3.10.3-Linux-x86_64.sh
- bash cmake-3.10.3-Linux-x86_64.sh --skip-license
- export CMAKE=$(pwd)/bin/cmake
- export PATH=/usr/lib/binutils-2.26/bin:${PATH}
- ld -v
before_deploy:
- git config --global user.email "[email protected]"
- git config --global user.name "Travis CI"
- cd ${TRAVIS_BUILD_DIR}/build/bin
- zip -r Vita3K-linux-nightly.zip .
deploy:
provider: script
overwrite: true
skip_cleanup: true
script: bash $TRAVIS_BUILD_DIR/deploy-linux-nightly.sh
on:
repo: Vita3K/Vita3K
tags: false
script:
- mkdir build
- cd build/
- ${CMAKE} -DCMAKE_BUILD_TYPE=Release -DCI:BOOL=ON ..
- make -j4
- make CTEST_OUTPUT_ON_FAILURE=1 test
env:
global:
secure: BNMTgPAb7mywkv/LH+SyXApneR/YGIUVmLlmddNVS82BuE/+zuPAyHziiBtsDJRrYjqRVkBXYQ566q83WiAKILIrKVOgNrp+5nTkMEAZREPTUFG7IO63M0nthrPXrgR5QTc1iPF+XNWjE+inuBSZjFvBxaj461eth0XvY0Cu7eKxd3g3xdNA0ejmiLNDxr7SegCsjsuxbeVC8EcNzlYQiWq0jKX9WgBYdAB6XT6toNJ5OonRS7T5XxnjvF0NtBerysKTYd14aAoGTXXoLU4nXesF7YRaxBo6FAzBaKQnLX3OPMRAVCaGEcGWUtEJcb9qv05AtTKuUzrXpRYEvsGO8dPdl/oAiniOncZkzTrjlIF1u7WDMN+MB603hTIti0k9R/RtQPQEEyNg8Et0O7qS5uGOWbdCeSppOuw5PzD4JtCOvZweO0D5RVrRe5f2xRVncoiF5jZJ55RPavbGcug5JqtR+MjVVnQJSx69i5AX3pLw08jXM7cpgitCKo9sk0YVwUSltmoVQ9TNu2hTRkcq46Dy4TNtZYc9HriJPRdQSg11juetOzpXduSPOJpehTlv4fgXBXGz1DwQTApMv46khlbWKrNxtYXNH0eXHzVQNzpgwiz5BNv8tCZRqeqmpvX69z3AWaRsmESQTWxV7eoTuKwZjnWa+SJmvXRTULr289s=