aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: ca92940dca4e404ee2026538408494d4da61f28e (plain)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
language: cpp
before_install: ./util/travis/before_install.sh
script: ./util/travis/script.sh
sudo: required
dist: trusty
group: edge
notifications:
  email: false
matrix:
  fast_finish: true
  include:

    - env: CLANG_FORMAT=clang-format-7
      compiler: clang
      os: linux
      addons:
        apt:
          packages: ['clang-format-7']
          sources: &sources
            - ubuntu-toolchain-r-test
            - llvm-toolchain-trusty-7

    - name: "Builtin Luacheck and Unit Tests"
      language: generic
      compiler: null
      os: linux
      sudo: false
      addons:
        apt:
          packages:
          - luarocks
      before_install:
        - luarocks install --local luacheck
        - luarocks install --local busted
      script:
        - $HOME/.luarocks/bin/luacheck builtin
        - $HOME/.luarocks/bin/busted builtin

    - env: CLANG_TIDY=clang-tidy-7
      compiler: clang
      os: linux
      script: ./util/travis/clangtidy.sh
      addons:
        apt:
          packages: ['clang-7', 'clang++-7', 'clang-tools-7', 'clang-tidy-7']
          sources: &sources
            - ubuntu-toolchain-r-test
            - llvm-toolchain-trusty-7

    - env: PLATFORM=Win32
      compiler: gcc
      os: linux

    - env: PLATFORM=Win64
      compiler: gcc
      os: linux

#    - env: PLATFORM=Unix
#      compiler: clang
#      os: osx
#      osx_image: xcode8

    - env: PLATFORM=Unix COMPILER=gcc-6
      compiler: gcc
      os: linux
      addons:
        apt:
          packages: ['gcc-6', 'g++-6']
          sources: &sources
            - ubuntu-toolchain-r-test

    - env: PLATFORM=Unix COMPILER=gcc-8
      compiler: gcc
      os: linux
      addons:
        apt:
          packages: ['gcc-8', 'g++-8']
          sources: &sources
            - ubuntu-toolchain-r-test

    - env: PLATFORM=Unix COMPILER=clang-3.6
      compiler: clang
      os: linux
      addons:
        apt:
          packages: ['clang-3.6', 'clang++-3.6']
          sources: &sources
            - llvm-toolchain-trusty-3.6

    - env: PLATFORM=Unix COMPILER=clang-7
      compiler: clang
      os: linux
      addons:
        apt:
          packages: ['clang-7', 'clang++-7']
          sources: &sources
            - ubuntu-toolchain-r-test
            - llvm-toolchain-trusty-7

    - env: PLATFORM=Unix COMPILER=clang-7 FREETYPE=0
      compiler: clang
      os: linux
      addons:
        apt:
          packages: ['clang-7', 'clang++-7']
          sources: &sources
            - ubuntu-toolchain-r-test
            - llvm-toolchain-trusty-7

    - env: PLATFORM=Unix COMPILER=clang-7 VALGRIND=1
      compiler: clang
      os: linux
      addons:
        apt:
          packages: ['valgrind', 'clang-7', 'clang++-7']
          sources: &sources
            - ubuntu-toolchain-r-test
            - llvm-toolchain-trusty-7