diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c86f332 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,35 @@ +# see http://about.travis-ci.org/docs/user/languages/php/ for more hints +language: php + +# list any PHP version you want to test against +php: + # using major version aliases + + # aliased to a recent 7.x version + - 7.0 + +# optionally specify a list of environments, for example to test different RDBMS +# env: +# - DB=mysql +# - DB=pgsql + +# optionally set up exclutions and allowed failures in the matrix +matrix: + # exclude: + # - php: hhvm + # env: DB=pgsql # PDO driver for pgsql is unsupported by HHVM (3rd party install for support) + # allow_failures: + # - php: 7.0 + # - php: hhvm + +# execute any number of scripts before the test run, custom env's are available as variables +before_script: + - '! find . -type f -name "*.php" -exec php -d error_reporting=32767 -l {} \; 2>&1 >&- | grep "^"' + +# omitting "script:" will default to phpunit +# use the $DB env variable to determine the phpunit.xml to use + + +# configure notifications (email, IRC, campfire etc) +notifications: + email: "matt.price@utoronto.ca" diff --git a/README.org b/README.org index e1d3ea8..e12bd8e 100644 --- a/README.org +++ b/README.org @@ -21,6 +21,8 @@ or, if you have [[https://make.wordpress.org/cli/handbook/installing/][wp-cli]] cd $WORDPRESS_ROOT wp theme install-git titaniumbones/wordpress-learning-theme #+END_SRC +** test travis +garbage only * Server-side mass deployment & auto-update This very simple theme uses `gulp` and the plugins `gulp-git` and `gulp-repository-watch` to auto-update whenever changes are pushed to the master branch of the repository. To activate this feature, you will need access to the command line. Make your way to the theme directory (~cd $WORDPRESS_ROOT/wp-content/themes/~) and start gulp with: #+BEGIN_SRC sh