diff options
author | Chaoyi Zha <summermontreal@gmail.com> | 2016-02-14 00:49:50 +0300 |
---|---|---|
committer | Chaoyi Zha <summermontreal@gmail.com> | 2016-02-14 00:49:50 +0300 |
commit | 8052e2f32fc5bc08113e1bd3e9851840eb4757cd (patch) | |
tree | 095c063d22d6178bff885d4c39838d5705c287b0 /.travis.yml | |
parent | a05b7b1a3aae9ecc7fbcd88c82a50fba261fc351 (diff) |
Add basic travis tests
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..1c09d48 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: php +php: + - '5.4' + - '5.5' + - '5.6' + - '7.0' +services: + - mysql +script: + - phpunit +before_script: + - mv tests/test_env .env + - mysql -e 'CREATE DATABASE polrci;' + - composer install |