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
35 changes: 35 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 2 additions & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down