Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

Commit

Permalink
v1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis CI User committed Aug 18, 2017
2 parents 52f49ad + 73f359c commit 759c133
Show file tree
Hide file tree
Showing 12 changed files with 5,866 additions and 5,893 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ bower_components/
dist/
coverage/
npm-debug.log
package-lock.json
22 changes: 17 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,29 @@ sudo: false
language: node_js
node_js: node
cache:
yarn: true
directories:
- node_modules
branches:
only:
- master
- /^greenkeeper/.*$/
before_script:
- npm prune
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
before_install:
- yarn global add greenkeeper-lockfile@1
before_script: greenkeeper-lockfile-update
script:
- npm run test
- yarn run lint
- xvfb-run yarn run test:sauce
- yarn run test
after_script: greenkeeper-lockfile-upload
after_success:
- npm run semantic-release
- yarn run semantic-release
notifications:
email: false
email: change
3 changes: 1 addition & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
"test"
],
"devDependencies": {
"angular": ">=1.3.4"
Expand Down
2 changes: 1 addition & 1 deletion dist/ng-currency.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/ng-currency.js.map

Large diffs are not rendered by default.

46 changes: 46 additions & 0 deletions karma.ci.conf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
const webpackConfig = require('./webpack.test.config.js');

module.exports = function(config) {
const karmaConfig = {
basePath: '',

frameworks: [
'jasmine',
'sinon'
],

files: [
'test/index.js'
],

preprocessors: {
'test/index.js': ['webpack', 'sourcemap']
},

webpack: webpackConfig,

webpackMiddleware: {
noInfo: true
},

reporters: ['spec'],

port: 9876,

colors: true,

logLevel: config.LOG_INFO,

browsers: [
'Chrome',
'Firefox'
],

captureTimeout: 0,
browserNoActivityTimeout: 120000,

singleRun: true
};

config.set(karmaConfig);
};
8 changes: 2 additions & 6 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ module.exports = function(config) {
],

preprocessors: {
'test/index.js': ['webpack', 'sourcemap'],
'src/**/*.js': ['coverage']
'test/index.js': ['webpack', 'sourcemap']
},

webpack: webpackConfig,
Expand Down Expand Up @@ -44,10 +43,7 @@ module.exports = function(config) {

browsers: ['PhantomJS'],

captureTimeout: 60000,
browserDisconnectTimeout: 7000,
browserDisconnectTolerance: 1,
browserDisconnectNoActivityTimeout: 60000,
browserNoActivityTimeout: 120000,

singleRun: false
});
Expand Down
Loading

0 comments on commit 759c133

Please sign in to comment.