Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: php
php:
- '5.5' # Ubuntu Trusty default
- '5.6' # MacOS default
# - '5.5' # Ubuntu Trusty default
# - '5.6' # MacOS default
- '7.0'
- '7.1'

Expand Down Expand Up @@ -43,12 +43,13 @@ before_install:
- 'echo "contexts_path: /home/travis/config/contexts" >> ~/.provision.yml'

install:
- composer install
- composer install --ansi
- sudo ln -s $PWD/bin/provision /usr/local/bin/provision
- mkdir /home/travis/config/contexts -p
- ls -la

script:
- composer yaml-tests --ansi

# @TODO: Set non-interactive globally
- provision -n -v
Expand Down
20 changes: 19 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
"consolidation/annotated-command": "~2",
"drupal/console-core": "1.0.2",
"drush/drush": "8.x",
"provision-ops/yaml-tests": "^1.2",
"psr/log": "^1.0",
"psy/psysh": "^0.8.11",
"squizlabs/php_codesniffer": "^3.4",
"symfony/console": "^3.2",
"symfony/yaml": "^3.2"
},
Expand Down Expand Up @@ -41,12 +43,28 @@
"bin-dir": "bin/",
"sort-packages": true,
"platform": {
"php": "5.5.9"
"php": "7.0.8"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {"Aegir\\Provision\\": "src/Provision"}
},
"require-dev": {
"phpunit/phpunit": "^4.8"
},
"scripts": {
"cs": "phpcs --standard=PSR2 -n src",
"cbf": "phpcbf --standard=PSR2 -n src",
"unit": "phpunit tests --colors=always",
"lint": [
"find src -name '*.php' -print0 | xargs -0 -n1 php -l"
],
"test": [
"@lint",
"@unit",
"@cs"
]
}
}
Loading