From 76cee5fe16460f5f2d1f7632442d7405becb289f Mon Sep 17 00:00:00 2001 From: Yevhenii Huselietov Date: Mon, 6 Feb 2017 14:49:19 +0800 Subject: [PATCH 1/4] Travis PoC --- .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 00000000..7cc156cc --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: node_js + +node_js: + - "6" + - "6.1" + - "5.11" + +cache: + yarn: true + directories: + - node_modules + +install: + - yarn + +script: + - yarn build + - yarn sandbox:vanillajs + - yarn sandbox:browserify + - yarn sandbox:webpack -- --bail From 5d6d67727954dfaebb2f23c2038b3fc06328cbe5 Mon Sep 17 00:00:00 2001 From: Yevhenii Huselietov Date: Mon, 6 Feb 2017 14:51:33 +0800 Subject: [PATCH 2/4] Remove install override --- .travis.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7cc156cc..dd83e6e1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,9 +10,6 @@ cache: directories: - node_modules -install: - - yarn - script: - yarn build - yarn sandbox:vanillajs From 6fcef5a60545c35b9f0602fb16c0d76bf9fce637 Mon Sep 17 00:00:00 2001 From: Yevhenii Huselietov Date: Mon, 6 Feb 2017 14:52:55 +0800 Subject: [PATCH 3/4] Update travis --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index dd83e6e1..b3f65806 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,10 @@ cache: directories: - node_modules +install: + - npm install -g yarn + - yarn + script: - yarn build - yarn sandbox:vanillajs From 2e562baedae7448d9934c19f0108de42a68b45a3 Mon Sep 17 00:00:00 2001 From: Yevhenii Huselietov Date: Mon, 6 Feb 2017 14:54:47 +0800 Subject: [PATCH 4/4] Add travis badge [skip ci] --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0a2e268d..817b0948 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # pixi-spine +[![Build Status](https://travis-ci.org/pixijs/pixi-spine.svg?branch=master)](https://travis-ci.org/pixijs/pixi-spine) + Spine implementation for pixi v3 and pixi v4. ## Usage