TravisCI: run the build inside Docker

- This is the simplest way to ensure all dependencies are there
- Also much faster than installing them on every build
- Especially since Travis runs Ubuntu Trusty, which doesn’t have ffmpeg in its repositories (must be compiled from source)
exif-summary
Romain 7 years ago
parent 870b60de17
commit 8d6cec3884

@ -1,19 +1,7 @@
# Run unit tests on several versions of Node
language: node_js
node_js:
- '6'
- '8'
# Also require docker for the integration tests
# Run the whole build inside Docker
sudo: required
services:
- docker
jobs:
include:
# After unit tests pass on all version of Node
# run the integration tests
- stage: Integration tests
script:
- docker pull thumbsupgallery/build:alpine
- docker build .
script:
- docker build .

Loading…
Cancel
Save