forked from tyabus/xash3d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (48 loc) · 2.52 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
language: c
cache: ccache
compiler: gcc
dist: xenial
env:
global:
- COVERITY_SCAN_PROJECT_NAME="tyabus-xash3d"
- COVERITY_SCAN_NOTIFICATION_EMAIL="mr.maks0443@gmail.com"
- COVERITY_SCAN_BRANCH_PATTERN="master"
- COVERITY_SCAN_BUILD_COMMAND="make -j2 VERBOSE=1"
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "YYk8zg1OxUB7vO8bqrLceAwzRE5ibYO0T8MA6B1N6oaBe9ufzPqyM8ivrFWpa7i3NOt7sCRH9OTSqo8qlW6D+GxK2pOI8XImggqX7jCHRXco4eibk7bOVwjqNM3NfM/1KsQLwr98Dkw4HfWmF50UqG7PBGBSHRQeYnrtk0P2Qc+Fvsp4DoilErB4N7FRPwS35/Iu4xQZTLVbtcHGSt4cnbpElJD/MxR/Bv+YBGvOB93Lrxu8uYS38+kprnHoDimOUIsv5SVyMXBO5I41ZUhyfWWhdK8DrnPnePH3krACCKNCd/1pY0YCY0UAmQgbQfx0pkjtj+aC9tfeFTO8Md1XfAq8rHYF6s5PBGqTWQrJCC1bK3MJ4lQDsJwF6fyPxsRArnAngGdqrBjgNoMUsdej2WCdZYgVnVNIxGA2Gxg2urQo9Glvhv/eSJQ0jXdElsBqvAGBDUewZjp9jOm5YJXLz/XAoJUWVSllKrIo6coTSX/8KQTNC+29vnK1da9oxYk+i8JalCAyxfynaRARDiul7fugR0sDFIGAhViHg5EQCcHjCEkn+W7H9V2XZu1IuksMLp6On3od8nNUt9sezr2S5PL7clfLcdIIUhtkpnDVq9F/HNjOwhEGrvgahtIjw27RTNZPBKnkRVYXGc9DF9hdwCf3Sxej57qt39f39biZxkQ="
addons:
apt:
packages:
- cmake
- p7zip-full
- gcc-multilib
- g++-multilib
- libx11-dev:i386
- libxext-dev:i386
- libgl1-mesa-dev
- libasound-dev
- zlib1g:i386
- libstdc++6:i386
git:
depth: 50
submodules: true
jdk:
- oraclejdk8
os:
- linux
before_script:
- sh scripts/travis_${TRAVIS_OS_NAME}_deps.sh
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export ANDROID_HOME=$PWD/android-sdk-linux; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export PATH=${PATH}:$PWD/apache-ant-1.10.7/bin:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:$PWD/android-ndk; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh scripts/build_android_engine.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh scripts/build_mingw_engine.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh scripts/build_portable_linux_engine.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh scripts/travis_coverity_scan.sh; fi
after_script:
- cd ${TRAVIS_BUILD_DIR}
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ccache --show-stats > ccache_stats.log; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh scripts/travis_upload.sh xash3d-mingw.7z xash3d-linux.7z xash3d-generic.apk; fi
before_install:
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-