Skip to content

Instantly share code, notes, and snippets.

@acouch
Created July 17, 2020 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acouch/3007dfdd7afbd9e70db6d4b896c83112 to your computer and use it in GitHub Desktop.
Save acouch/3007dfdd7afbd9e70db6d4b896c83112 to your computer and use it in GitHub Desktop.
language: php
dist: bionic
notifications:
email:
on_success: never
on_failure: never
before_install:
# turn off XDebug for speed up
- phpenv config-rm xdebug.ini || return 0
php:
- '7.4'
services:
- docker
cache:
directories:
- $HOME/.composer/cache
addons:
hosts:
- test.ddev.site
before_script:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
- sudo apt update
- sudo apt install docker-ce
- sudo curl -L "https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
- sudo chmod +x /usr/local/bin/docker-compose
- docker-compose --version
- wget https://github.com/drud/ddev/releases/download/v1.13.1/ddev_linux.v1.13.1.tar.gz
- tar vxzf ddev_linux.v1.13.1.tar.gz
- sudo chmod +x ddev
- sudo chmod +x mkcert
- ./mkcert -install
- sudo ln -s ~/build/promet/gao/ddev /usr/local/bin/ddev
jobs:
fast_finish: true
include:
-
stage: Tests
script:
- ./ddev init
- ./ddev phpunit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment