seafile-containerized/.travis.yml
2016-11-21 13:48:57 +08:00

19 lines
479 B
YAML

sudo: required
language: python
services:
- docker
install:
# Must put something here, or travis would ask us for requirments.txt
- echo "Nothing to install"
script:
- cd image && make base && make server && cd ..
- cp samples/server.conf bootstrap/bootstrap.conf
- sudo ./launcher bootstrap
- sudo ./launcher start && sleep 10
- sudo ./launcher stop --skip-prereqs
- sudo ./launcher start --docker-args "--memory 1g" && sleep 10
- sudo ./launcher restart