Skip to content

Commit

Permalink
Update CI build configurations
Browse files Browse the repository at this point in the history
The build configuration for Circle CI (1) have been updated to the new
API version 2.0 (2). Both Circle CI and Travis CI (3) are now also
testing against the latest NodeJS version.

References:

  (1) circleci.com
  (2) circleci.com/docs/2.0
  (3) travis-ci.org
  (4) npmjs.com
  (5) yarnpkg.com

GH-83
  • Loading branch information
arcticicestudio committed Jun 28, 2018
1 parent 68c33d0 commit d8d6a67
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 1,023 deletions.
26 changes: 26 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright (c) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
# Copyright (c) 2017-present Sven Greb <development@svengreb.de>

# Project: Nord Visual Studio Code
# Repository: https://github.com/arcticicestudio/nord-visual-studio-code
# License: MIT
# References:
# https://circleci.com/docs/2.0
# https://circleci.com/docs/2.0/circleci-images/#nodejs

version: 2
jobs:
build:
docker:
- image: circleci/node:latest
steps:
- checkout
- run:
name: preprocess-clean-node-modules
command: rm -rf node_modules
- run:
name: preprocess-npm-install
command: npm install
- run:
name: lint
command: npm run lint
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
package-lock=true
save-exact=true
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
# Copyright (c) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
# Copyright (c) 2017-present Sven Greb <code@svengreb.de>
# Copyright (c) 2017-present Sven Greb <development@svengreb.de>
#
# Project: Nord Visual Studio Code
# Repository: https://github.com/arcticicestudio/nord-visual-studio-code
# License: MIT
# References:
# https://docs.travis-ci.com
# https://docs.travis-ci.com/user/languages/javascript-with-nodejs

language: node_js
dist: trusty
sudo: false
node_js:
- "4"
- "6"
- "7"
- "8"
- "node"
before_install:
- rm -rf ./node_modules
before_script:
Expand Down
23 changes: 0 additions & 23 deletions circle.yml

This file was deleted.

Loading

0 comments on commit d8d6a67

Please sign in to comment.