Skip to content

Commit

Permalink
feat: use circleci instead of travis for building
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkdo committed Oct 20, 2017
1 parent 604f2a4 commit fbe5d8f
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 29 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: &build
docker:
- image: circleci/node:latest
working_directory: ~/hare
branches:
only:
- master
- dev
steps: &steps
- checkout
- restore_cache:
keys:
- hare-deps-{{ checksum "yarn.lock" }}
# fallback to using the latest cache if no exact match is found
- hare-deps-
- run: yarn
- save_cache:
paths:
- node_modules
key: hare-deps-{{ checksum "yarn.lock" }}
- run: yarn test
deployment:
staging:
branch: master
heroku:
appname: nuxt-hare
# node-7:
# <<: *build
# docker:
# - image: circleci/node:7.10
# workflows:
# version: 2
# build:
# jobs:
# - node-latest
# - node-7

28 changes: 0 additions & 28 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ branches:
# blacklist
except:
- gh-pages

skip_branch_with_pr: true
max_jobs: 4

# Test against the latest version of this Node.js version
Expand Down

0 comments on commit fbe5d8f

Please sign in to comment.