Merge pull request #13 from Pear-Trading/TBSliver/Travis-Testing
Enabled Travis Testing
This commit is contained in:
commit
40b6a1401a
3 changed files with 21 additions and 1 deletions
13
.travis.yml
Normal file
13
.travis.yml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
addons:
|
||||||
|
chrome: stable
|
||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- 8
|
||||||
|
before_script:
|
||||||
|
- export DISPLAY=:99.0
|
||||||
|
- sh -e /etc/init.d/xvfb start
|
||||||
|
- npm config set spin false
|
||||||
|
install:
|
||||||
|
- npm install
|
||||||
|
script:
|
||||||
|
- npm run ci
|
|
@ -3,6 +3,11 @@
|
||||||
This is the repository for the LocalLoop web interface, for traders and
|
This is the repository for the LocalLoop web interface, for traders and
|
||||||
customers to see and submit data to the service.
|
customers to see and submit data to the service.
|
||||||
|
|
||||||
|
| Branch | Status |
|
||||||
|
| --- | --- |
|
||||||
|
| *Master:* | [![Build Status](https://travis-ci.org/Pear-Trading/Foodloop-Web.svg?branch=master)](https://travis-ci.org/Pear-Trading/Foodloop-Web) |
|
||||||
|
| *Development:* | [![Build Status](https://travis-ci.org/Pear-Trading/Foodloop-Web.svg?branch=development)](https://travis-ci.org/Pear-Trading/Foodloop-Web) |
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
To get started with development, you will need an up to date version of
|
To get started with development, you will need an up to date version of
|
||||||
|
|
|
@ -11,8 +11,10 @@
|
||||||
"start": "ng serve",
|
"start": "ng serve",
|
||||||
"build": "ng build",
|
"build": "ng build",
|
||||||
"test": "ng test",
|
"test": "ng test",
|
||||||
|
"test:once": "ng test --watch=false",
|
||||||
"lint": "ng lint",
|
"lint": "ng lint",
|
||||||
"e2e": "ng e2e"
|
"e2e": "ng e2e",
|
||||||
|
"ci": "npm run test:once && npm run e2e"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Reference in a new issue