summaryrefslogblamecommitdiffstats
path: root/.travis.yml
blob: c3b14c11baa79f31992193c369f1c6b18a6d99c5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                         
                         


            



                                    



                 
                                             
                     
dist: xenial
sudo: required
language: cpp
compiler: gcc
os: linux

addons:
    apt:
        packages:
        - cmake
        - g++
        - libsdl2-dev
        - libsdl2-net-dev
        - liblua5.1-0-dev

matrix:
    include:
    - name: "Debug build"
      env: BUILD_TYPE=Debug
    - name: "Release build"
      env: BUILD_TYPE=RelWithDebInfo

script:
    - mkdir build
    - cd build
    - cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE
    - cmake --build .