Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Dev (#53)
Browse files Browse the repository at this point in the history
* ci: travis build

* ci: added travis npm cache

* test(codecov): Addes spec

* ci: added chrome to travis

* test: Addes test files for board, added fa testbed

* perf(travis & npm): using npm ci instead of npm install

* ci: added codecov

* ci: Codecov

* ci: changed travis
  • Loading branch information
Disane87 authored Sep 1, 2019
1 parent 052b99c commit 8d6a2cb
Show file tree
Hide file tree
Showing 5 changed files with 313 additions and 40 deletions.
33 changes: 20 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

codecov: true
dist: trusty
sudo: false
language: node_js
Expand All @@ -8,8 +9,13 @@ node_js:

script: echo "Running tests against $(node -v) ..."

# npm ci instead of npm install https://medium.com/hackernoon/how-to-speed-up-continuous-integration-build-with-new-npm-ci-and-package-lock-json-7647f91751a
install:
- npm install
- npm ci

addons:
chrome: stable



stages:
Expand All @@ -25,29 +31,30 @@ jobs:
- stage: "Build"
script:
- echo "Running Build against $(node -v) ..."
- npm run build

- stage: "Lint"
script:
- echo "Running Lint against $(node -v) ..."
- npm run lint

- stage: "Test"
script:
- echo "Running Test against $(node -v) ..."
- npm run test
after_success:
- bash <(curl -s https://codecov.io/bash)

- stage: "Stackblitz"

- stage: "Publish"
deploy:
provider: script
skip_cleanup: true
script:

- ls
- npm run semantic-release:run
on:
branch: master


provider: script
skip_cleanup: true
script:

- ls
- npm run semantic-release:run
on:
branch: master

# after_success:
# - bash <(curl -s https://codecov.io/bash)
Loading

0 comments on commit 8d6a2cb

Please sign in to comment.