-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtravis.yml
29 lines (25 loc) · 1004 Bytes
/
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
language: c++
before_script:
- wget -q https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.0/wxWidgets-3.1.0.tar.bz2
- tar jxf wxWidgets-3.1.0.tar.bz2
- (cd wxWidgets-3.1.0 && ./configure --prefix=$HOME/wx-3.1.0 && make -j2 all install)
- ln -s $HOME/wx-3.1.0/bin/wx-config $HOME/wx-3.1.0/bin/wx-config-3
- user=$(echo $TRAVIS_REPO_SLUG | sed 's,/.*$,,')
- cd ../
- git clone https://github.com/google/googletest /home/travis/build/$user/googletest
- git clone https://github.com/$user/lk /home/travis/build/$user/lk
- git clone https://github.com/$user/wex /home/travis/build/$user/wex
- git clone https://github.com/$user/ssc /home/travis/build/$user/ssc
script:
- export PATH=$PATH:$HOME/wx-3.1.0/bin
- make -j2 -C googletest/googletest/make
- make -j2 -C lk/build_linux
- make -j2 -C wex/build_linux
- make -j2 -C ssc/build_linux
- make -j2 -C SAM/build_linux
install:
- sudo apt-get install -y libgtk-3-dev
branches:
only:
- master
- develop