From e736dfdef8031a920db49ac23d4c8a8492d362d6 Mon Sep 17 00:00:00 2001 From: Wasabi Fan Date: Sun, 27 Aug 2017 13:00:25 -0700 Subject: [PATCH 1/4] Add travis CI config --- .travis.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ccdb3cc --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +sudo: false + +os: + - osx + - linux + +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 + +install: + - npm install + +script: + - npm run vscode:prepublish \ No newline at end of file From 95fd243fc003a57fff3d9ce3077236f7767206f0 Mon Sep 17 00:00:00 2001 From: Wasabi Fan Date: Sun, 27 Aug 2017 13:17:24 -0700 Subject: [PATCH 2/4] Specify lang and version --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ccdb3cc..7d866a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,9 @@ os: - osx - linux +language: node_js +node_js: lts/* + before_install: - if [ $TRAVIS_OS_NAME == "linux" ]; then export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0; @@ -15,4 +18,5 @@ install: - npm install script: - - npm run vscode:prepublish \ No newline at end of file + - npm run vscode:prepublish + \ No newline at end of file From a82be70360beb9026877255ad3f5339eea66949a Mon Sep 17 00:00:00 2001 From: Wasabi Fan Date: Sun, 27 Aug 2017 15:00:06 -0700 Subject: [PATCH 3/4] Updates --- .travis.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7d866a8..413fbfc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,16 +7,8 @@ os: language: node_js node_js: lts/* -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 - install: - - npm install + - npm install --no-optional script: - - npm run vscode:prepublish - \ No newline at end of file + - npm run vscode:prepublish \ No newline at end of file From c736e2cd2462c641fe2e7d73eab0be9f7486be20 Mon Sep 17 00:00:00 2001 From: Wasabi Fan Date: Thu, 31 Aug 2017 19:54:07 -0700 Subject: [PATCH 4/4] Remove macOS --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 413fbfc..732f222 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ sudo: false os: - - osx - linux language: node_js