From 9566460cded120917f25b2c408887512339e98c2 Mon Sep 17 00:00:00 2001 From: Matt Price Date: Wed, 1 Nov 2017 19:42:45 -0400 Subject: [PATCH 1/3] add initial travis.yml lint tests only --- travis.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 travis.yml 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" From d31dc399b1ebb0d1436d659df8687722aa0bafdc Mon Sep 17 00:00:00 2001 From: Matt Price Date: Wed, 1 Nov 2017 19:43:45 -0400 Subject: [PATCH 2/3] testing travis --- README.org | 2 ++ 1 file changed, 2 insertions(+) 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 From bd82ebe10985909e73b53d72aa95c3ef447ed927 Mon Sep 17 00:00:00 2001 From: Matt Price Date: Wed, 1 Nov 2017 19:45:46 -0400 Subject: [PATCH 3/3] oops --- travis.yml => .travis.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename travis.yml => .travis.yml (100%) diff --git a/travis.yml b/.travis.yml similarity index 100% rename from travis.yml rename to .travis.yml