Skip to content

Commit

Permalink
Migrate to CircleCI 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
charpeni committed Jul 16, 2017
1 parent edb825b commit 6fe13ca
Show file tree
Hide file tree
Showing 6 changed files with 229 additions and 4,626 deletions.
24 changes: 24 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: 2
jobs:
build:
working_directory: ~/react-native-router-flux
docker:
- image: circleci/node:7
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: install-dependencies
command: yarn install --frozen-lockfile
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- ~/.cache/yarn
- run:
name: test
command: yarn test
- run:
name: linter
command: yarn eslint
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ local.properties
# node.js
#
node_modules/
npm-debug.log
*.log

.vscode/
10 changes: 0 additions & 10 deletions circle.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"start": "node node_modules/react-native/local-cli/cli.js start",
"postinstall": "./node_modules/.bin/opencollective postinstall",
"build": "babel src -d dist --presets react-native-stage-0/decorator-support",
"eslint": "./node_modules/.bin/eslint src/ __tests__/",
"eslint": "eslint src/ __tests__/",
"test": "jest"
},
"dependencies": {
Expand Down
Loading

0 comments on commit 6fe13ca

Please sign in to comment.