Skip to content

Commit

Permalink
feat(travis-ci): add .travis.yml [triage-skip] (#9)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jshcrowthe committed May 17, 2017
1 parent 822a02c commit 241470c
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 5 deletions.
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
sudo: required
dist: trusty
language: node_js
node_js: stable
env:
- CXX=g++-4.8
cache: yarn
addons:
firefox: latest
apt:
sources:
- google-chrome
- ubuntu-toolchain-r-test
packages:
- google-chrome-stable
- g++-4.8
before_script:
- "export DISPLAY=:99.0"
script:
- xvfb-run npm test
branches:
only:
- master
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/firebase/firebase-js-sdk.svg?branch=master)](https://travis-ci.org/firebase/firebase-js-sdk)

# Firebase Javascript SDK

The Firebase JavaScript SDK implements the client-side libraries used by
Expand Down
3 changes: 2 additions & 1 deletion README.public.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Firebase - App success made simple
[![Build Status](https://travis-ci.org/firebase/firebase-js-sdk.svg?branch=master)](https://travis-ci.org/firebase/firebase-js-sdk)

# Firebase - App success made simple

## Overview

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"gzip-size": "^3.0.0",
"husky": "^0.13.3",
"jsdom": "^9.12.0",
"karma": "^1.5.0",
"karma": "^1.7.0",
"karma-chrome-launcher": "^2.0.0",
"karma-firefox-launcher": "^1.0.1",
"karma-mocha": "^1.3.0",
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3564,9 +3564,9 @@ karma-typescript@^3.0.1:
util "~0.10.1"
vm-browserify "~0.0.1"

karma@^1.5.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/karma/-/karma-1.6.0.tgz#0e871d4527d5eac56c41d181f03c5c0a7e6dbf3e"
karma@^1.7.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/karma/-/karma-1.7.0.tgz#6f7a1a406446fa2e187ec95398698f4cee476269"
dependencies:
bluebird "^3.3.0"
body-parser "^1.16.1"
Expand Down

0 comments on commit 241470c

Please sign in to comment.