Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

chore(ci): add travis #52

Merged
merged 1 commit into from
Oct 15, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
dist: trusty
sudo: required
language: node_js
node_js:
- "5"
os:
- linux
env:
global:
- DBUS_SESSION_BUS_ADDRESS=/dev/null
- DISPLAY=:99.0
- CHROME_BIN=chromium-browser
before_script:
- sh -e /etc/init.d/xvfb start
install:
- npm install -g gulp
- npm install
- npm run typings install
script:
- npm run lint
- npm run tsc
- gulp build
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Angular in-memory-web-api
[![Build Status][travis-badge]][travis-badge-url]

>**UPDATE NOTICE**
>
Expand Down Expand Up @@ -196,3 +197,6 @@ compiling your application project.
- Add two tags to the release commit with for unpkg
- the version number
- 'latest'

[travis-badge]: https://travis-ci.org/angular/in-memory-web-api.svg?branch=master
[travis-badge-url]: https://travis-ci.org/angular/in-memory-web-api
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"tsc": "tsc",
"tsc:w": "tsc -w",
"lint": "tslint ./src/*.ts -t verbose",
"lint": "tslint ./src/*.ts -t verbose -e ./src/*.d.ts",
"lite": "lite-server",
"live": "live-server",
"start": "concurrently \"npm run tsc:w\" \"npm run lite\" ",
Expand Down
Loading