forked from omega-gg/MotionBox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (31 loc) · 1.15 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
sudo: required
services:
- docker
language: cpp
matrix:
include:
- os: linux
env: QT=qt4 TARGET=i386
- os: linux
env: QT=qt4 TARGET=amd64
- os: linux
env: QT=qt5 TARGET=i386
- os: linux
env: QT=qt5 TARGET=amd64
before_install:
- docker run -d --name ubuntu -v $PWD:/MotionBox ${TARGET}/ubuntu:18.04 tail -f /dev/null
install:
- docker exec -t ubuntu bash -c "cd /MotionBox/..;
apt-get update;
apt-get -y install sudo curl git;
git clone https://github.com/omega-gg/Sky;
git clone https://github.com/omega-gg/backend;
cd Sky;
sh 3rdparty.sh linux;
cd ../MotionBox;
sh configure.sh ${QT} linux sky"
script:
- docker exec -t ubuntu bash -c "cd /MotionBox/../Sky;
sh build.sh ${QT} linux tools;
cd ../MotionBox;
sh build.sh ${QT} linux deploy"