forked from RudjiGames/MTuner
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
56 lines (47 loc) · 1.98 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
language: cpp
dist: bionic
matrix:
include:
- compiler: gcc
os: linux
# - compiler: clang
# os: osx
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:beineri/opt-qt-6.0.1-bionic'
packages:
- gcc-5
- g++-5
- clang
- qt601tools
- qt601base
before_install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-add-repository ppa:beineri/opt-qt-6.0.1-bionic -y; fi
install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -qq qt601base; source /opt/qt601/bin/qt601-env.sh; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get -qq update; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then export QTDIR_GMAKE_x86=/opt/qt601; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then export QTDIR_GMAKE_x64=/opt/qt601; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/qt601:/lib/pkgconfig; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install luarocks; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo luarocks install luafilesystem; fi
before_script:
- git clone --depth 1 https://github.com/milostosic/build ../build
- git clone --depth 1 https://github.com/milostosic/rbase ../rbase
- git clone --depth 1 https://github.com/milostosic/rdebug ../rdebug
- git clone --depth 1 https://github.com/milostosic/rmem ../rmem
- git clone --depth 1 https://github.com/milostosic/rqt ../rqt
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then chmod 764 ../build/tools/bin/linux/genie; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then chmod 764 ../build/tools/bin/darwin/genie; fi
script:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install libc6-dev-i386 gcc-5-multilib g++-5-multilib; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then make linux CXX="g++-5" CC="gcc-5"; fi
# - if [ "$TRAVIS_OS_NAME" == "osx" ]; then make osx; fi
branches:
only:
- master
notifications:
email: false
#osx_image: xcode9.3