Fix drone file

This commit is contained in:
Thomas Sileo 2019-04-11 22:13:52 +02:00
parent a71f6f1cf8
commit 5ef03b9bd5

View file

@ -2,10 +2,10 @@ pipeline:
build: build:
image: python:3 image: python:3
commands: commands:
- sudo apt-get install -y curl python-tk docker-ce docker-ce-cli containerd.io - apt-get install -y curl python-tk docker-ce docker-ce-cli containerd.io
- sudo pip install -U pip - pip install -U pip
- sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose - curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
- sudo chmod +x /usr/local/bin/docker-compose - chmod +x /usr/local/bin/docker-compose
- docker-compose --version - docker-compose --version
- pip install -r dev-requirements.txt - pip install -r dev-requirements.txt
- git clone https://github.com/tsileo/poussetaches.git && cd poussetaches && docker build . -t poussetaches:latest && cd - - git clone https://github.com/tsileo/poussetaches.git && cd poussetaches && docker build . -t poussetaches:latest && cd -