Skip to content

Commit

Permalink
docs(browser): fix travis workflow
Browse files Browse the repository at this point in the history
fix travis workflow
  • Loading branch information
xmlking committed Sep 7, 2018
1 parent 52c0060 commit eaa4386
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 22 deletions.
37 changes: 19 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: node_js
node_js: # will use latest stable node
- 'stable'
addons:
chrome: stable
#addons:
# chrome: stable
cache: # global caching
directories:
# - node_modules
Expand All @@ -18,9 +18,9 @@ env:
- NODE_ENV=mock

stages:
# - lint
# - test
- build
# - lint
# - test
# - build
- name: release
if: branch = master AND type IN (push)
- name: deploy
Expand All @@ -30,24 +30,25 @@ stages:

jobs:
include:
- stage: lint
script: npm run lint
# - stage: lint
# script: npm run lint

- stage: test # unit test
script:
- npm run test:ci
# - "npm testcafe 'path:`/usr/bin/google-chrome-stable` --headless --disable-gpu --remote-debugging-port=9222 --remote-debugging-address=0.0.0.0' apps/webapp-e2e/**/*.e2e-spec.ts --app 'npm run start' --skip-js-errors --app-init-delay 4000"
# - stage: test # unit test
# script:
# - npm run test:ci
## - "npm testcafe 'path:`/usr/bin/google-chrome-stable` --headless --disable-gpu --remote-debugging-port=9222 --remote-debugging-address=0.0.0.0' apps/webapp-e2e/**/*.e2e-spec.ts --app 'npm run start' --skip-js-errors --app-init-delay 4000"

- stage: test # e2e test
script:
- npm run e2e:ci
# - stage: test # e2e test
# script:
# - npm run e2e:ci

- stage: build
before_script: npm run prebuild
script:
- npm run build:mock
# - stage: build
# before_script: npm run prebuild
# script:
# - npm run build:mock

- stage: release # semantic release - create changelog
install: skip
script: skip
deploy:
provider: script
Expand Down
7 changes: 4 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ Before you submit your Pull Request (PR) consider the following guidelines:
* Commit your changes using a descriptive commit message that follows our
[commit message conventions](#commit-message-guidelines). Adherence to these conventions
is necessary because release notes are automatically generated from these messages.

by running followed by npm run commit.
```shell
git commit -a
# or use this git-cz commit interactive helper tool
# stage your changes
git add .
# use git-cz interactive helper tool to commit
npm run commit
```
Note: the optional commit `-a` command line option will automatically "add" and "rm" edited files.
Expand Down
2 changes: 1 addition & 1 deletion stories/howto.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ git tag tag-test-release-production
git push --tags origin master
```

Once it’s done, **you can clean the tag locally (and remotly)** like that (if you wish):1
Once it’s done, **you can clean the tag locally (and remotly)** like that (if you wish):
```bash
git tag --delete tag-test-release-production
git push --delete origin tag-test-release-production
Expand Down

0 comments on commit eaa4386

Please sign in to comment.