-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
55 lines (53 loc) · 1.52 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
jobs:
include:
- os: linux
sudo: required
dist: xenial
language: cpp
compiler: g++
install: export CXX="g++-7"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
notifications:
email:
on_success: never
on_failure: always
before_install:
- sudo apt-get update -qq
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test # C++14
- sudo apt-get -y install software-properties-common
- sudo add-apt-repository -y ppa:beineri/opt-qt597-xenial
- sudo apt update
- sudo apt-get -y install qt59-meta-minimal
- sudo apt-get -y install qt59-meta-full
- sudo apt-get -y install qt59-meta-dbg-full
- sudo apt-get install gcc-7 g++-7
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7
- sudo update-alternatives --config gcc
- source /opt/qt59/bin/qt59-env.sh
- sudo apt install libx11-dev
- sudo apt install libxcb-xkb-dev
- sudo apt-get -y install libkf5notifications-dev
- ld --version
- sudo apt-get install clang-format-3.6
- git clone https://github.com/qt/qtcharts
- cd qtcharts
- git checkout 5.9
- qmake
- make
- sudo make install
- cd ..
script:
- gcc-7 --version
- gcc --version
- source ./build.sh
- os: osx
before_install:
- brew install qt5
- brew link qt5 --force
script:
- source ./build.sh