Skip to content

Commit

Permalink
OIL-124 public build info (#106)
Browse files Browse the repository at this point in the history
* Add travis.yml
* require sudo and add environment variable
* Add Coveralls and Travis CI build status
* Include Fossa and safer test, exclude broken test
* add mocha-lcov-reporter
* ignore coveralls.yml
* Add build status for master branch
* Include coverage and coveralls
* Show Fossa license result after license
* Delay test until cookie is truly set
* add encrypted coveralls repo token
* Add BrowserStack status
* Allow empty referrer for browserstack remote testing
* Move common_capability out of file and use .env
* Require browserstack key and user in env
* Switch to environment key and user in another branch
* Changes to be done in another branch
* Undo updates
* Don't. Just don't
* Remove unneeded entries
  • Loading branch information
phogel authored and Waschnick committed May 30, 2018
1 parent 7ab175c commit f897b15
Show file tree
Hide file tree
Showing 7 changed files with 4,608 additions and 3,914 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- "7"
- '7'
sudo: required
env:
- NODE_ENV=test
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
Currently in *beta* until 18.06.2018.

[![Latest Release](https://img.shields.io/github/release/as-ideas/oil.svg)](https://oil.axelspringer.com/release/)
[![Build Status](https://jenkins.ipool.asideas.de/buildStatus/icon?job=OIL-build)](https://jenkins.ipool.asideas.de/job/OIL-build/)
[![Build Status](https://travis-ci.org/as-ideas/oil.svg?branch=master)](https://travis-ci.org/as-ideas/oil)
[![Coverage Status](https://coveralls.io/repos/github/as-ideas/oil/badge.svg?branch=master)](https://coveralls.io/github/as-ideas/oil?branch=master)
![GZIP SIZE](http://img.badgesize.io/https://oil.axelspringer.com/latest/oil.min.js?compression=gzip&style=flat-square)
[![GPL2 License][license-image]][license-url]

[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fas-ideas%2Foil.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fas-ideas%2Foil?ref=badge_shield)
[![BrowserStack Status](https://www.browserstack.com/automate/badge.svg?badge_key=K0diOE0wb08vMTBzVFNOcFNLQ0NpVTNDdWZOR0JDWStscE84Z1VqOGZUUT0tLU40MEJSQVk3dFJ2RXh1a294S1VJTUE9PQ==--63f8bb4a27933f962a3a17112782edeac545ba77)](https://www.browserstack.com/automate/public-build/K0diOE0wb08vMTBzVFNOcFNLQ0NpVTNDdWZOR0JDWStscE84Z1VqOGZUUT0tLU40MEJSQVk3dFJ2RXh1a294S1VJTUE9PQ==--63f8bb4a27933f962a3a17112782edeac545ba77)

[Website](https://oil.axelspringer.com/) | [Full documentation](https://oil.axelspringer.com/docs/last-release) | [Demo-Site with AppNexus](http://www.dieser-ferdinand.de/) | [HTML integration example](https://oil.axelspringer.com/demos/open-source-example.html) | [Release Notes](https://github.com/as-ideas/oil/releases)

Expand Down
16 changes: 12 additions & 4 deletions etc/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,14 @@ module.exports = function (config) {

// list of files / patterns to load in the browser
files: [
{pattern: '**/*.html', included: false}
{pattern: '**/*.html', included: false},
'dist/oil.bundle.js'
],

preprocessors: {
'dist/oil.bundle.js': ['coverage']
},

// list of files / patterns to exclude
exclude: [],

Expand All @@ -64,7 +69,9 @@ module.exports = function (config) {
reporters: [
'spec',
'junit',
'kjhtml'
'kjhtml',
'coverage',
'coveralls'
],

specReporter: {
Expand All @@ -74,11 +81,12 @@ module.exports = function (config) {
junitReporter: JUNIT,

coverageReporter: {
dir: '../target/coverage/',
dir: 'target/coverage',
reporters: [
{type: 'text-summary'},
{type: 'json'},
{type: 'html'}
{type: 'html'},
{type: 'lcov'}
]
},

Expand Down

0 comments on commit f897b15

Please sign in to comment.