From cd93e82a75259290bf1f13e9ace9a758ade4d5ff Mon Sep 17 00:00:00 2001 From: Karl Hepworth Date: Mon, 13 Jul 2020 23:12:34 +1000 Subject: [PATCH] #233: Lando test (#234) * Add a lando test * Remove lando init from test * update directory path change * Update URL for lando project * Lando uses slightly different Lagoon headers... --- .travis.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.travis.yml b/.travis.yml index aa1d6ff7..cafbf7ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,6 +32,9 @@ matrix: - cat service/library/version.go | grep 'COMMITTAG = "' - GO111MODULE=on go vet $(go list ./...); - docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.25.1 golangci-lint run -v + - wget https://files.devwithlando.io/lando-stable.deb + - sudo dpkg -i lando-stable.deb + - lando --experimental script: # Build @@ -109,6 +112,14 @@ matrix: - docker-compose -p drupal9 rm - cd ../ + # Drupal 9 (Drupal Example Simple): + - git clone -b 9.x https://github.com/amazeeio/drupal-example-simple.git drupal9-lagoon-simple-lando && cd drupal9-lagoon-simple-lando + - lando start + - curl --HEAD http://drupal9-example-simple-lando.lndo.site:8000 + - curl --HEAD http://drupal9-example-simple-lando.lndo.site:8000 | grep "X-Lagoon" + - lando destroy -y + - cd ../ + # Wordpress: - git clone https://github.com/amazeeio/wordpress-example.git wordpress && cd wordpress - docker-compose -p wordpress up -d