Skip to content

Commit

Permalink
chore(ci): migrate to circle ci 2 (#26)
Browse files Browse the repository at this point in the history
* chore(ci): switch to `circle ci 2`

* chore(ci): update image with browsers for tests

* ci: switched image to circleci/node

* ci: removed `working_directory` from circleci config

* ci: removed gulp global installation
  • Loading branch information
claylaut authored Oct 9, 2017
1 parent 4747157 commit 7ff90c4
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
22 changes: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:latest-browsers
steps:
- run:
name: Print environment versions
command: |
NPM_V=$(npm -v)
echo npm version':' $NPM_V
- checkout
- run:
name: Package Install
command: |
npm i
- run:
name: build
command: npm run build -- --rel
- run:
name: test
command: npm test
4 changes: 4 additions & 0 deletions .circleci/utils.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
print_title() {
echo -e "\e[36m ---- $1 ---- \e[39m"
}
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ jspm_packages
node_modules
.idea
.vscode
.circleci
npm-debug.log
*.tgz

Expand All @@ -15,7 +16,6 @@ test
.editorconfig
.gitignore
.npmignore
circle.yml
gulpfile.js
jsconfig.json
karma-test-shim.js
Expand Down
6 changes: 0 additions & 6 deletions circle.yml

This file was deleted.

0 comments on commit 7ff90c4

Please sign in to comment.