From 47f6c90a9836d795fadc2c83cd9bf6fd7fc1fb38 Mon Sep 17 00:00:00 2001 From: Petr Sloup Date: Wed, 9 Mar 2016 11:38:39 +0100 Subject: [PATCH] Add .travis.yml --- .travis.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..0513a1e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: node_js +node_js: + - "5" +env: + - CXX=g++-4.8 +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-4.8 +before_install: + - sudo apt-get update -qq + - sudo apt-get install -qq xvfb +install: + - npm install + - wget https://github.com/klokantech/tileserver-gl/releases/download/v0.0.1-pre/test_data.zip + - unzip -q test_data.zip -d test_data +script: + - xvfb-run --server-args="-screen 0 1024x768x24" npm test