From bd7c76d8c9a2bb38e921b2d88391fcce357b0e56 Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Wed, 3 Jan 2018 17:21:40 -0800 Subject: [PATCH 1/5] Adding .travis.yml --- Extension/.travis.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Extension/.travis.yml diff --git a/Extension/.travis.yml b/Extension/.travis.yml new file mode 100644 index 000000000..f5e82eb4f --- /dev/null +++ b/Extension/.travis.yml @@ -0,0 +1,37 @@ +language: node_js + +node_js: +- "8" + +env: +- CODE_VERSION=1.18.0 + +before_install: + - if [ $TRAVIS_OS_NAME == "linux" ]; then + export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0; + sh -e /etc/init.d/xvfb start; + sleep 3; + fi + +addons: + apt: + sources: + - ubuntu-toolchain-r-test + - sourceline: 'deb https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main' + key_url: 'https://packages.microsoft.com/keys/microsoft.asc' + packages: + - g++-4.9 + - libsecret-1-dev + +install: +- npm install +- npm run pretest + +script: + - npm run test + +after_failure: + - ./.travis/printLogs.sh + +after_success: + - ./.travis/printLogs.sh \ No newline at end of file From cc50314eaa4b5bedf75ce3e654a2c0bf303ca7cf Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Wed, 3 Jan 2018 17:24:56 -0800 Subject: [PATCH 2/5] Triggering a build --- Extension/.travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Extension/.travis.yml b/Extension/.travis.yml index f5e82eb4f..6c86fb7c3 100644 --- a/Extension/.travis.yml +++ b/Extension/.travis.yml @@ -34,4 +34,5 @@ after_failure: - ./.travis/printLogs.sh after_success: - - ./.travis/printLogs.sh \ No newline at end of file + - ./.travis/printLogs.sh + \ No newline at end of file From 2c0de372895c58232059cb308a5a020c53f5e764 Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Wed, 3 Jan 2018 17:25:53 -0800 Subject: [PATCH 3/5] Oops, put it in the wrong place --- Extension/.travis.yml => .travis.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Extension/.travis.yml => .travis.yml (100%) diff --git a/Extension/.travis.yml b/.travis.yml similarity index 100% rename from Extension/.travis.yml rename to .travis.yml From ffb3449b957a3e00ea26fb0c1431cb4c19758f32 Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Wed, 3 Jan 2018 17:32:38 -0800 Subject: [PATCH 4/5] Change Directory to Extension --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6c86fb7c3..0bb38531f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,11 +23,10 @@ addons: - g++-4.9 - libsecret-1-dev -install: -- npm install -- npm run pretest - script: + - cd Extension + - npm install + - npm run pretest - npm run test after_failure: From b850bebd97d1f37efc599a6c1afde26dc85f077a Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Wed, 3 Jan 2018 17:55:50 -0800 Subject: [PATCH 5/5] Minimal travis.yml --- .travis.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0bb38531f..a9db2b724 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,25 +3,12 @@ language: node_js node_js: - "8" -env: -- CODE_VERSION=1.18.0 - -before_install: - - if [ $TRAVIS_OS_NAME == "linux" ]; then - export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0; - sh -e /etc/init.d/xvfb start; - sleep 3; - fi - addons: apt: sources: - ubuntu-toolchain-r-test - sourceline: 'deb https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main' key_url: 'https://packages.microsoft.com/keys/microsoft.asc' - packages: - - g++-4.9 - - libsecret-1-dev script: - cd Extension