Fix packaging in travis
parent
4356cfe7c1
commit
e1b7877c24
|
@ -19,8 +19,10 @@ addons:
|
|||
|
||||
before_install: npm install -g npm@'>=2.13.5'
|
||||
script:
|
||||
- npm test
|
||||
- docker build -t clems4ever/authelia .
|
||||
- npm install
|
||||
- grunt test
|
||||
- grunt build
|
||||
- grunt docker-build
|
||||
- docker-compose build
|
||||
- docker-compose up -d
|
||||
- sleep 5
|
||||
|
|
|
@ -13,6 +13,10 @@ module.exports = function(grunt) {
|
|||
"test": {
|
||||
cmd: "npm",
|
||||
args: ['run', 'test']
|
||||
},
|
||||
"docker-build": {
|
||||
cmd: "docker",
|
||||
args: ['build', '-t', 'clems4ever/authelia', '.']
|
||||
}
|
||||
},
|
||||
copy: {
|
||||
|
@ -43,7 +47,9 @@ module.exports = function(grunt) {
|
|||
grunt.registerTask('default', ['build']);
|
||||
|
||||
grunt.registerTask('res', ['copy:resources', 'copy:views', 'copy:public_html']);
|
||||
|
||||
grunt.registerTask('build', ['run:tslint', 'run:build-ts', 'res']);
|
||||
grunt.registerTask('docker-build', ['run:docker-build']);
|
||||
|
||||
grunt.registerTask('test', ['run:test']);
|
||||
};
|
||||
|
|
|
@ -70,6 +70,7 @@
|
|||
"sinon-promise": "^0.1.3",
|
||||
"tmp": "0.0.31",
|
||||
"ts-node": "^3.0.4",
|
||||
"tslint": "^5.2.0"
|
||||
"tslint": "^5.2.0",
|
||||
"typescript": "^2.3.2"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue