6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-05 12:57:52 +00:00
tutor/.travis.yml
Régis Behmo ea2dd7c4fb Generate configuration from Docker
We no longer run the `configure` script on the host. Instead, we run a
container that generates the configuration files. This opens the way for
more complex configuration templates that would be written in jinja2.
More complex templates are required for feature flags, such as SSL,
XQUEUE, etc.
2018-08-16 14:42:10 +02:00

15 lines
277 B
YAML

language: python
services:
- docker
script:
- make build
- make configure SILENT=1
- make migrate
#- make assets # too time-consuming
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
deploy:
provider: script
script: make push
on:
branch: master