Skip to content

Commit

Permalink
Merge pull request #285 from auth0/added-circle-ci-2.0
Browse files Browse the repository at this point in the history
Added CI 2.0
  • Loading branch information
cocojoe authored Jul 11, 2018
2 parents 533f882 + 5c9892e commit 71c77f7
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 19 deletions.
39 changes: 39 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
version: 2
jobs:
build-and-test:
docker:
- image: circleci/node:6.14.3-browsers
environment:
LANG: en_US.UTF-8
steps:
- checkout
- run:
name: Update Yarn
command: 'sudo npm update -g yarn'
- restore-cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: yarn install --pure-lockfile
- save-cache:
name: Save Yarn Package Cache
key: yarn-packages-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- run:
name: Check
command: yarn check
- run:
name: Tests
command: yarn test:ci
- run:
name: Generate Coverage
command: yarn test:coverage

workflows:
version: 2
build-test-report:
jobs:
- build-and-test
3 changes: 0 additions & 3 deletions .travis.yml

This file was deleted.

16 changes: 0 additions & 16 deletions circle.yml

This file was deleted.

0 comments on commit 71c77f7

Please sign in to comment.