From 8048acd890262c0db44a0a72685517eeac1bef20 Mon Sep 17 00:00:00 2001 From: Astie Teddy Date: Fri, 18 Sep 2020 21:39:10 +0200 Subject: [PATCH] Add travis --- .travis.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..d155858 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,29 @@ +language: c +dist: trusty + +git: + depth: 3 + +matrix: + include: + - os: linux + - os: osx + - os: windows + +before_script: + +before_install: + - if [ "$TRAVIS_OS_NAME" == "linux" ]; then + sudo apt-get install -y gcc-multilib + libasound2-dev:$ARCH + libxcursor-dev:$ARCH libxinerama-dev:$ARCH mesa-common-dev:$ARCH + libx11-dev:$ARCH libxrandr-dev:$ARCH libxrandr2:$ARCH libxi-dev:$ARCH + libgl1-mesa-dev:$ARCH libglu1-mesa-dev:$ARCH; + fi + - mkdir build + - $RUNNER $CC --version + +script: + - cd build + - $RUNNER make + mv raylua_s* raylua_e* build/