From d26f488eb209b0ea0af8418ca6617a3e5f2c5717 Mon Sep 17 00:00:00 2001 From: Jon Williams Date: Wed, 7 Feb 2018 12:35:14 -0500 Subject: [PATCH] Testing CI build of all modules off community repo. --- .travis.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..8492e9ff --- /dev/null +++ b/.travis.yml @@ -0,0 +1,34 @@ +language: cpp +node_js: + "9.3.0" +cache: + directories: + - /tmp/Rack +osx_image: xcode9.2 +os: + - linux + - osx +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-7 +install: +# - npm install + - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get install coreutils realpath git libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libgl1-mesa-dev libglu1-mesa-dev zlib1g-dev libasound2-dev libgtk2.0-dev unzip cmake3 ; fi + - if [ $TRAVIS_OS_NAME == osx ]; then echo; fi + - git submodule update --init -- +before_script: +# - npm test + - git clone -b master https://github.com/VCVRack/Rack.git /tmp/Rack || cd /tmp/Rack && git pull + - cd /tmp/Rack + - git submodule update --init --recursive + - if [ $TRAVIS_OS_NAME == linux ]; then export CC=gcc-7 && CXX=g++-7; fi + - make -j 8 dep > /dev/null + - make -j 8 +script: + - cd $TRAVIS_BUILD_DIR + - RACK_DIR=/tmp/Rack make -j 8 dist_all +notifications: + email: false