Merge pull request #13 from Pear-Trading/TBSliver/Travis-Testing

Enabled Travis Testing
This commit is contained in:
Tom Bloor 2017-09-14 11:22:48 +01:00 committed by GitHub
commit 40b6a1401a
3 changed files with 21 additions and 1 deletions

13
.travis.yml Normal file
View 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

View file

@ -3,6 +3,11 @@
This is the repository for the LocalLoop web interface, for traders and
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
To get started with development, you will need an up to date version of

View file

@ -11,8 +11,10 @@
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"test:once": "ng test --watch=false",
"lint": "ng lint",
"e2e": "ng e2e"
"e2e": "ng e2e",
"ci": "npm run test:once && npm run e2e"
},
"private": true,
"dependencies": {