Skip to content

Commit 7296964

Browse files
committed
Add travis continuous integration system support
1 parent f2bc372 commit 7296964

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed

.travis.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
age: cpp
2+
3+
compiler:
4+
- gcc
5+
6+
sudo: required
7+
dist: trusty
8+
9+
env:
10+
#- QT_BASE=51
11+
#- QT_BASE=52
12+
#- QT_BASE=53
13+
#- QT_BASE=54
14+
#- QT_BASE=55
15+
- QT_BASE=56
16+
17+
before_install:
18+
#- if [ "$QT_BASE" = "51" ]; then sudo add-apt-repository ppa:beineri/opt-qt511-trusty -y; fi
19+
#- if [ "$QT_BASE" = "52" ]; then sudo add-apt-repository ppa:beineri/opt-qt521-trusty -y; fi
20+
#- if [ "$QT_BASE" = "53" ]; then sudo add-apt-repository ppa:beineri/opt-qt532-trusty -y; fi
21+
#- if [ "$QT_BASE" = "54" ]; then sudo add-apt-repository ppa:beineri/opt-qt542-trusty -y; fi
22+
#- if [ "$QT_BASE" = "55" ]; then sudo add-apt-repository ppa:beineri/opt-qt551-trusty -y; fi
23+
- if [ "$QT_BASE" = "56" ]; then sudo add-apt-repository ppa:beineri/opt-qt561-trusty -y; fi
24+
- sudo apt-get update -qq
25+
26+
install:
27+
#- if [ "$QT_BASE" = "51" ]; then sudo apt-get install -qq qt51base; source /opt/qt51/bin/qt51-env.sh; fi
28+
#- if [ "$QT_BASE" = "52" ]; then sudo apt-get install -qq qt52base; source /opt/qt52/bin/qt52-env.sh; fi
29+
#- if [ "$QT_BASE" = "53" ]; then sudo apt-get install -qq qt53base; source /opt/qt53/bin/qt53-env.sh; fi
30+
#- if [ "$QT_BASE" = "54" ]; then sudo apt-get install -qq qt54base; source /opt/qt54/bin/qt54-env.sh; fi
31+
#- if [ "$QT_BASE" = "55" ]; then sudo apt-get install -qq qt55base; source /opt/qt55/bin/qt55-env.sh; fi
32+
- if [ "$QT_BASE" = "56" ]; then sudo apt-get install -qq qt56base; source /opt/qt56/bin/qt56-env.sh; fi
33+
34+
script:
35+
- mkdir build
36+
- cd build
37+
- cmake .. && make
38+
39+
notifications:
40+
email: false

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.4)
1+
cmake_minimum_required(VERSION 3.2)
22

33
project(NodeEditor)
44

0 commit comments

Comments
 (0)