/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew cask install iterm2
brew cask install git
web: vendor/bin/heroku-php-nginx -C nginx.conf public/ | |
queue: php artisan queue:work --sleep=3 --tries=3 --daemon |
[[runners]] | |
url = "https://domain.com/ci" | |
token = "RUNNER TOKEN GOES HERE" | |
tls-skip-verify = false | |
tls-ca-file = "" | |
name = "YOUR RUNNER NAME" | |
executor = "docker" | |
environment = ["MYSQL_ALLOW_EMPTY_PASSWORD=1"] | |
[runners.docker] | |
image = "php:7-fpm" |
# Before Tests | |
before_script: | |
- bash ci/docker_setup.sh > /dev/null | |
- composer self-update | |
- composer install --prefer-dist > /dev/null | |
- cp .env.gitlab .env | |
- php artisan key:generate | |
# Services | |
services: |
#!/bin/bash | |
# We need to install dependencies only for Docker | |
[[ ! -e /.dockerinit ]] && exit 0 | |
set -xe | |
# Update | |
apt-get update -yqq |
Verifying that +ianolson is my blockchain ID. https://onename.com/ianolson |
# For Debian/Ubuntu | |
apt-get install gitlab-ci-multi-runner | |
# For CentOS | |
yum install gitlab-ci-multi-runner |
# For Debian/Ubuntu | |
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.deb.sh | sudo bash | |
# For CentOS | |
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.rpm.sh | sudo bash |
# Using cURL | |
curl -sSL https://get.docker.com/ | sh | |
# Using Ubuntu | |
sudo apt-get install docker.io |
# Before Tests | |
before_script: | |
- bash ci/docker_install.sh > /dev/null | |
- composer self-update | |
- composer install --prefer-dist > /dev/null | |
- cp .env.gitlab .env | |
- php artisan key:generate | |
- php artisan migrate:refresh | |
# Services |