add travis script

This commit is contained in:
Brad Parker committed 2017-10-24 01:31:52 -04:00
1 parent 6c835a2868
commit 304181b66a
2 files changed
+30

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
language: generic
os: linux
dist: trusty
addons:
apt:
packages:
- g++-7
- qtbase5-dev
sources:
- ubuntu-toolchain-r-test
env:
global:
- COMPILER_NAME=gcc CXX=g++-7 CC=gcc-7
matrix:
- PLATFORM=linux_x64
before_script:
- pwd
- mkdir -p ~/bin
- ln -s /usr/bin/gcc-7 ~/bin/gcc
- ln -s /usr/bin/g++-7 ~/bin/g++
- ln -s /usr/bin/cpp-7 ~/bin/cpp
- export PATH=~/bin:$PATH
- ls -l ~/bin
- echo $PATH
- g++-7 --version
- g++ --version
script:
- QT_SELECT=5 qmake
- make clean all
+1
View File
@@ -18,6 +18,7 @@
#include <QObject>
#include <QtNetwork>
#include <QCommandLineParser>
#include <inttypes.h>
#define HEADER_LEN 16