-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
40 lines (39 loc) · 834 Bytes
/
.travis.yml
File metadata and controls
40 lines (39 loc) · 834 Bytes
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
dist: trusty
sudo: required
env:
- export DISPLAY=:99.0
language:
- cpp
compiler:
- gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake
before_install:
# stuff needed for qt5 which is for GUI
- sudo apt-add-repository -y ppa:beineri/opt-qt551-trusty
# test/start GUI
- sh -e /etc/init.d/xvfb start
# Check versions of gcc, g++ and cmake
- gcc -v && g++ -v && cmake --version
install:
- sudo apt-get install -y qt5-default qttools5-dev-tools
before_script:
# Run your build commands next
- mkdir build
- cd build/
- cmake ../ -DEEMA_EXAMPLES=ON -DEXAMPLE1=ON -DEEMA_GUI=ON
script:
- make
# test example 1
- cd examples/example-1;
- ./eema_example1 ./ input.inp
- cd ../../
# test gui compile
- cd gui
- ./eema_gui &
- pkill eema_gui
- cd ..