Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
language: php
php:
  - '7.1'

sudo: required

# We need docker for Lando to run
services:
  - docker

# Install all the lando magic and do a sanity check to verify its working
before_install:
  - sudo apt-get -y update
  - sudo apt-get -y install cgroup-bin curl
  - curl -fsSL -o /tmp/lando-latest.deb http://installer.kalabox.io/lando-latest-dev.deb
  - sudo dpkg -i /tmp/lando-latest.deb
  - lando version

script:

  # Start lando in verbose mode
  # This will also run composer install and npm build
  - lando start -- -v

  # TODO: When tests are added, configure lando to run the tests and uncomment this line
  # - lando test -- -v

  # Build the non dev dependencies
  - lando build

deploy:
  - provider: script
    skip_cleanup: true
    script: ./travis-deploy.sh
    on:
      branch: develop

  - provider: script
    skip_cleanup: true
    script: ./travis-deploy.sh
    on:
      branch: stage

  - provider: script
    skip_cleanup: true
    script: ./travis-deploy.sh
    on:
      branch: master
      tags: true

addons:
  ssh_known_hosts:
  - svn-6489.devcloud.hosting.acquia.com
  - <%= acquiaRemoteHost %>

<% if (slackNotification) { %>
notifications:
  slack:
    secure: <%= notifcationsSlackSecure %>
<% } %>