language: php
php:
  - 5.5
  - 5.6
  - '7'
before_script:
  - sudo apt-get update -qq
  - sudo apt-get install -y -qq libssh2-1-dev libssh2-php
  - pecl install -f ssh2-beta < .noninteractive
  - php -m | grep ssh2
  - composer self-update
  - composer install --dev
  - echo `whoami`":1234" | sudo chpasswd
  
install: composer install --dev
script: phpunit -c test/phpunit.xml

language: php
php:
  - 5.5
  - 5.6
  - '7'
before_script:
  - sudo apt-get update -qq
  - sudo apt-get install -y -qq libssh2-1-dev libssh2-php
  - pecl install -f ssh2-beta < .noninteractive
  - php -m | grep ssh2
  - composer self-update
  - composer install --dev
  - echo `whoami`":1234" | sudo chpasswd
script: phpunit -c test/phpunit.xml

Build SSH2 extension prior to running tests
Build SSH2 extension prior to running tests