Improve multi (#7136)
[opentx.git] / .travis.yml
blob6a843237798b70243b706e6facac3061be02344a
1 sudo: required
2 dist: xenial
3 language: cpp
4 compiler: gcc
6 addons:
7   apt:
8     sources:
9       - sourceline: 'ppa:ubuntu-sdk-team/ppa'
10       - sourceline: 'ppa:ubuntu-toolchain-r/test'
11       - sourceline: 'ppa:beineri/opt-qt571-xenial'
12     update: true
13     packages:
14       - curl
15       - libmpfr4
16       - libmpc3
17       - libfox-1.6-dev
18       - libgtest-dev
19       - clang-6.0
20       - python3-pip
22 env:
23   global:
24     - QT_BASE=57
25     - GCC_ARM_VERSION=4_7-2013q3
26   matrix:
27     - FLAVOR=COMPANION
28     - FLAVOR=ARM9X
29     - FLAVOR=X9LITE
30     - FLAVOR=X7
31     - FLAVOR=XLITE
32     - FLAVOR=X9
33     - FLAVOR=COLORLCD
35 before_install:
36   - wget --quiet https://launchpad.net/gcc-arm-embedded/4.7/4.7-2013-q3-update/+download/gcc-arm-none-eabi-${GCC_ARM_VERSION}-20130916-linux.tar.bz2
37   - tar xjf gcc-arm-none-eabi-${GCC_ARM_VERSION}-20130916-linux.tar.bz2
38   - sudo mv gcc-arm-none-eabi-${GCC_ARM_VERSION} /opt/gcc-arm-none-eabi
39   - sudo ln -s /opt/gcc-arm-none-eabi/bin/arm-none-eabi-gcc /usr/bin/arm-none-eabi-gcc
40   - sudo ln -s /opt/gcc-arm-none-eabi/bin/arm-none-eabi-g++ /usr/bin/arm-none-eabi-g++
41   - sudo ln -s /opt/gcc-arm-none-eabi/bin/arm-none-eabi-as /usr/bin/arm-none-eabi-as
42   - sudo ln -s /opt/gcc-arm-none-eabi/bin/arm-none-eabi-objcopy /usr/bin/arm-none-eabi-objcopy
43   - sudo ln -s /opt/gcc-arm-none-eabi/bin/arm-none-eabi-objdump /usr/bin/arm-none-eabi-objdump
44   - sudo ln -s /opt/gcc-arm-none-eabi/bin/arm-none-eabi-size /usr/bin/arm-none-eabi-size
45   - sudo apt-get install --yes --force-yes -qq qt${QT_BASE}base qt${QT_BASE}multimedia qt${QT_BASE}svg qt${QT_BASE}tools; source /opt/qt${QT_BASE}/bin/qt${QT_BASE}-env.sh
46   - sudo ln -sf /usr/bin/python3 /usr/bin/python
47   - python3 -m pip install pillow clang
49 script:
50   - ./tools/commit-tests.sh