mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
Travis update
This commit is contained in:
11
.travis.yml
11
.travis.yml
@@ -2,8 +2,13 @@ language: node_js
|
||||
node_js:
|
||||
- "6"
|
||||
- "7"
|
||||
before_script:
|
||||
- 'export CHROME_BIN=chromium-browser'
|
||||
- 'export DISPLAY=:99.0'
|
||||
- 'sh -e /etc/init.d/xvfb start'
|
||||
- 'npm install -g bower karma grunt-cli jshint'
|
||||
- 'npm install'
|
||||
- 'bower install'
|
||||
script:
|
||||
- npm run lint
|
||||
- npm test
|
||||
- npm run test:cov
|
||||
- npm run compile
|
||||
- npm run build
|
||||
@@ -14,5 +14,16 @@ module.exports = function (config) {
|
||||
'tests.webpack.js': [ 'webpack' ]
|
||||
},
|
||||
webpack: webpackConfig,
|
||||
customLaunchers: {
|
||||
Chrome_travis_ci: {
|
||||
base: 'Chrome',
|
||||
flags: ['--no-sandbox']
|
||||
}
|
||||
},
|
||||
singleRun: true
|
||||
});
|
||||
|
||||
if(process.env.TRAVIS){
|
||||
config.browsers = ['Chrome_travis_ci'];
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user