From 3062b11fec74e9165da801d0206c8662416033b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B4=A0=C9=AA=E1=B4=84=E1=B4=9B=E1=B4=8F=CA=80=20=CA=99?= =?UTF-8?q?=E1=B4=8A=E1=B4=87=CA=9F=E1=B4=8B=CA=9C=E1=B4=8F=CA=9F=E1=B4=8D?= Date: Sat, 2 Dec 2017 07:25:50 +0100 Subject: [PATCH] chore: updating CI files (#48) This commit updates all CI scripts to the latest version --- .travis.yml | 9 ++++----- appveyor.yml | 27 ++++++++++++++++----------- ci/Jenkinsfile | 1 + circle.yml | 8 +++++--- 4 files changed, 26 insertions(+), 19 deletions(-) create mode 100644 ci/Jenkinsfile diff --git a/.travis.yml b/.travis.yml index 4acc33f..74f58e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,19 +1,18 @@ sudo: false language: node_js + matrix: include: - node_js: 6 env: CXX=g++-4.8 - node_js: 8 env: CXX=g++-4.8 - -# Make sure we have new NPM. -before_install: - - npm install -g npm + # - node_js: stable + # env: CXX=g++-4.8 script: - npm run lint - - npm test + - npm run test - npm run coverage before_script: diff --git a/appveyor.yml b/appveyor.yml index de3e378..58aef65 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,23 +1,28 @@ +version: "{build}" + environment: matrix: - nodejs_version: "6" - nodejs_version: "8" -# cache: -# - node_modules - -platform: - - x64 +matrix: + fast_finish: true install: - - ps: Install-Product node $env:nodejs_version $env:platform - - npm install + # Install Node.js + - ps: Install-Product node $env:nodejs_version -test_script: + # Upgrade npm + - npm install -g npm + + # Output our current versions for debugging - node --version - npm --version - - npm test -build: off + # Install our package dependencies + - npm install -version: "{build}" +test_script: + - npm run test:node + +build: off diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile new file mode 100644 index 0000000..c1e3f2c --- /dev/null +++ b/ci/Jenkinsfile @@ -0,0 +1 @@ +javascript() diff --git a/circle.yml b/circle.yml index 434211a..56f7efb 100644 --- a/circle.yml +++ b/circle.yml @@ -5,8 +5,10 @@ machine: dependencies: pre: - google-chrome --version - - wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - - - sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' + - curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb + - sudo dpkg -i google-chrome.deb || true - sudo apt-get update - - sudo apt-get --only-upgrade install google-chrome-stable + - sudo apt-get install -f + - sudo apt-get install --only-upgrade lsb-base + - sudo dpkg -i google-chrome.deb - google-chrome --version