浏览代码

build: activate Travis-CI builds

master
Sam Hocevar 8 年前
父节点
当前提交
0e9098ee9d
共有 1 个文件被更改,包括 33 次插入0 次删除
  1. +33
    -0
      .travis.yml

+ 33
- 0
.travis.yml 查看文件

@@ -0,0 +1,33 @@
sudo: required
dist: trusty
language: c++
env: VERBOSE=1

addons:
apt:
packages:
- build-essential
- automake
- autoconf
- libtool
- pkg-config
- libsdl2-dev
- libsdl2-image-dev
- libsdl2-mixer-dev
- libglew-dev
# this can fix clang compilation
- clang-3.8
- libc++-dev

before_install:
- if [ "$CC" = "clang" ]; then export CC="clang-3.8"; fi
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.8 -stdlib=libc++"; fi
- ./bootstrap

os:
- linux

compiler:
- gcc
- clang


正在加载...
取消
保存