diff --git a/.travis.yml b/.travis.yml index a2f32d78c..3ca8c9694 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,12 @@ language: php -php: 5.6 +php: + - '5.5' + - '5.6' + - '7.0' + - hhvm branches: only: + - develop - master - build_test notifications: @@ -42,15 +47,22 @@ env: before_install: - export TZ=Pacific/Honolulu - composer self-update - - go get github.com/aktau/github-release - - echo "Travis Date - `date`" - - git clone --quiet --depth=50 --branch=master https://${BB_TOKEN}bitbucket.org/rockettheme/grav-devtools.git $RT_DEVTOOLS &>/dev/null; - - if [ ! -z "$TRAVIS_TAG" ]; then - cd ${RT_DEVTOOLS}; - ./build-grav.sh skeletons.txt; + - if [ $TRAVIS_BRANCH == 'develop' ]; then + composer install --dev --prefer-dist; + fi + - if [ $TRAVIS_BRANCH != 'develop' ] && [ $TRAVIS_PHP_VERSION == '5.6' ] && [ $TRAVIS_PULL_REQUEST == "false" ]; then + go get github.com/aktau/github-release; + git clone --quiet --depth=50 --branch=master https://${BB_TOKEN}bitbucket.org/rockettheme/grav-devtools.git $RT_DEVTOOLS &>/dev/null; + if [ ! -z "$TRAVIS_TAG" ]; then + cd ${RT_DEVTOOLS}; + ./build-grav.sh skeletons.txt; + fi; fi script: - - if [ ! -z "$TRAVIS_TAG" ]; then + - if [ $TRAVIS_BRANCH == 'develop' ]; then + vendor/bin/codecept run; + fi + - if [ ! -z "$TRAVIS_TAG" ] && [ $TRAVIS_BRANCH != 'develop' ] && [ $TRAVIS_PHP_VERSION == '5.6' ] && [ $TRAVIS_PULL_REQUEST == "false" ]; then FILES="$RT_DEVTOOLS/grav-dist/*.zip"; for file in ${FILES[@]}; do NAME=${file##*/}; diff --git a/README.md b/README.md index df4706876..6f0cf6241 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ![](https://avatars1.githubusercontent.com/u/8237355?v=2&s=50) Grav +# ![](https://avatars1.githubusercontent.com/u/8237355?v=2&s=50) Grav [![Build Status](https://travis-ci.org/getgrav/grav.svg?branch=develop)](https://travis-ci.org/getgrav/grav) [![SensioLabsInsight](https://insight.sensiolabs.com/projects/cfd20465-d0f8-4a0a-8444-467f5b5f16ad/mini.png)](https://insight.sensiolabs.com/projects/cfd20465-d0f8-4a0a-8444-467f5b5f16ad) [![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/getgrav/grav?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) @@ -101,7 +101,7 @@ What you mainly want to know is that: * [Install](http://learn.getgrav.org/basics/installation) Grav in few seconds * Understand the [Configuration](http://learn.getgrav.org/basics/grav-configuration) * Take a peek at our available free [Skeletons](http://getgrav.org/downloads/skeletons) -* If you have questions, jump on our [Gitter Room](https://gitter.im/getgrav/grav)! +* If you have questions, jump on our [Gitter Room](https://gitter.im/getgrav/grav)! * Have fun! # Exploring More