mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Fix dockerbuild and modify travis
This commit is contained in:
parent
5166395af1
commit
4e7f56ac74
2 changed files with 20 additions and 5 deletions
|
@ -10,13 +10,16 @@ before_install:
|
|||
- sudo chmod +x docker-compose
|
||||
- sudo mv docker-compose /usr/local/bin
|
||||
- sudo docker-compose build --no-cache --force-rm
|
||||
- sudo docker-compose up && docker ps -a
|
||||
- sudo docker run wekan-app /bin/sh -c "npm test"
|
||||
- sudo docker-compose up -d wekandb
|
||||
- sudo docker-compose up -d wekan
|
||||
- sudo docker exec -ti wekan /bin/sh -c "npm test"
|
||||
# ^^ Note - need to come up with some way of checking the output from docker run
|
||||
# that it was a success... perhaps the nodejs server can output a success message?
|
||||
|
||||
language: node_js
|
||||
|
||||
node_js:
|
||||
- "0.10.48"
|
||||
- "6.10.2"
|
||||
|
||||
install:
|
||||
- "npm install"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue