Skip to content

Commit 241470c

Browse files
authored
feat(travis-ci): add .travis.yml [triage-skip] (#9)
* feat(travis-ci): add .travis.yml [triage-skip] * docs(*): add travis badge to README files * fix(travis): include C++11 Standard Compiler Node.js v4.0 and greater requires a C++11 standard-compliant compiler (See: https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements) * refactor(travis): turn on caching for .travis.yml to improve build times * refactor(travis): limit push builds to the master branch * refactor(deps): bump karma version
1 parent 822a02c commit 241470c

File tree

5 files changed

+31
-5
lines changed

5 files changed

+31
-5
lines changed

.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
sudo: required
2+
dist: trusty
3+
language: node_js
4+
node_js: stable
5+
env:
6+
- CXX=g++-4.8
7+
cache: yarn
8+
addons:
9+
firefox: latest
10+
apt:
11+
sources:
12+
- google-chrome
13+
- ubuntu-toolchain-r-test
14+
packages:
15+
- google-chrome-stable
16+
- g++-4.8
17+
before_script:
18+
- "export DISPLAY=:99.0"
19+
script:
20+
- xvfb-run npm test
21+
branches:
22+
only:
23+
- master

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Build Status](https://travis-ci.org/firebase/firebase-js-sdk.svg?branch=master)](https://travis-ci.org/firebase/firebase-js-sdk)
2+
13
# Firebase Javascript SDK
24

35
The Firebase JavaScript SDK implements the client-side libraries used by

README.public.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# Firebase - App success made simple
1+
[![Build Status](https://travis-ci.org/firebase/firebase-js-sdk.svg?branch=master)](https://travis-ci.org/firebase/firebase-js-sdk)
22

3+
# Firebase - App success made simple
34

45
## Overview
56

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"gzip-size": "^3.0.0",
6565
"husky": "^0.13.3",
6666
"jsdom": "^9.12.0",
67-
"karma": "^1.5.0",
67+
"karma": "^1.7.0",
6868
"karma-chrome-launcher": "^2.0.0",
6969
"karma-firefox-launcher": "^1.0.1",
7070
"karma-mocha": "^1.3.0",

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3564,9 +3564,9 @@ karma-typescript@^3.0.1:
35643564
util "~0.10.1"
35653565
vm-browserify "~0.0.1"
35663566

3567-
karma@^1.5.0:
3568-
version "1.6.0"
3569-
resolved "https://registry.yarnpkg.com/karma/-/karma-1.6.0.tgz#0e871d4527d5eac56c41d181f03c5c0a7e6dbf3e"
3567+
karma@^1.7.0:
3568+
version "1.7.0"
3569+
resolved "https://registry.yarnpkg.com/karma/-/karma-1.7.0.tgz#6f7a1a406446fa2e187ec95398698f4cee476269"
35703570
dependencies:
35713571
bluebird "^3.3.0"
35723572
body-parser "^1.16.1"

0 commit comments

Comments
 (0)