Skip to content

Commit

Permalink
ci: add travis test
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Oct 3, 2017
1 parent 3978843 commit 28bfb99
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .pullapprove.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
groups:
code-review:
approve_by_comment:
approve_regex: ^Approved
enabled: true
reject_regex: ^Rejected
required: 1
reset_on_push:
enabled: false
users:
- Sibiraj-S
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: node_js
node_js:
- 7.10.0

branches:
only:
- master

addons:
firefox: "latest"

before_install:
- yarn global add @angular/cli

before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- yarn install

script:
- yarn run travis-test
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"e2e": "ng e2e",
"docs": "ng build --prod --output-path docs --base-href ngx-editor",
"build": "ng build --prod && sh scripts/build.sh",
"travis-test": "ng test --watch false",
"precommit": "ng test --watch false && yarn run build",
"cz": "git-cz"
},
Expand Down

0 comments on commit 28bfb99

Please sign in to comment.