lemmy/.travis.yml

36 lines
763 B
YAML
Raw Normal View History

2020-07-23 21:26:53 +00:00
sudo: required
2020-07-24 01:20:29 +00:00
language: node_js
node_js:
- 14
2020-07-23 21:26:53 +00:00
services:
- docker
branches:
only:
- main
- test
- travis_docker_testing
2019-12-28 21:42:20 +00:00
env:
2020-07-23 21:30:40 +00:00
- DOCKER_COMPOSE_VERSION=1.25.5
cache:
bundler: true
directories:
- $HOME/docker_images
2020-07-23 21:26:53 +00:00
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- docker load -i $HOME/docker_images/images.tar || true
2020-07-23 22:09:39 +00:00
- cd docker/travis
before_cache:
- docker save -o $HOME/docker_images/images.tar $(docker images -a -q)
2020-07-23 21:26:53 +00:00
# install:
# - docker build -t hnakamur/example .
script:
- ./run-tests.sh