diff options
| author | Yichun Zhang (agentzh) <agentzh@gmail.com> | 2016-05-15 19:40:48 -0700 |
|---|---|---|
| committer | Yichun Zhang (agentzh) <agentzh@gmail.com> | 2016-05-15 19:40:48 -0700 |
| commit | fe567280c2032284a7c23223d99c365bf56d2581 (patch) | |
| tree | cdf800edf435e28124bb05161dbc7e84252221ab | |
| parent | 0688c25a50749f1b04adc4d8002ce911192337a1 (diff) | |
| download | lua-cjson-fe567280c2032284a7c23223d99c365bf56d2581.tar.gz lua-cjson-fe567280c2032284a7c23223d99c365bf56d2581.tar.bz2 lua-cjson-fe567280c2032284a7c23223d99c365bf56d2581.zip | |
travis-ci: run our new tests as well.
| -rw-r--r-- | .travis.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 6e46368..af7bd17 100644 --- a/.travis.yml +++ b/.travis.yml | |||
| @@ -17,8 +17,11 @@ env: | |||
| 17 | install: | 17 | install: |
| 18 | - sudo apt-get update | 18 | - sudo apt-get update |
| 19 | - sudo apt-get install -qq -y $LUA luarocks cppcheck | 19 | - sudo apt-get install -qq -y $LUA luarocks cppcheck |
| 20 | - sudo apt-get install -qq -y cpanminus libipc-run3-perl > build.log 2>&1 || (cat build.log && exit 1) | ||
| 21 | - sudo cpanm --notest Test::Base Test::LongString > build.log 2>&1 || (cat build.log && exit 1) | ||
| 20 | 22 | ||
| 21 | script: | 23 | script: |
| 22 | - cppcheck --force --error-exitcode=1 --enable=warning . > build.log 2>&1 || (cat build.log && exit 1) | 24 | - cppcheck --force --error-exitcode=1 --enable=warning . > build.log 2>&1 || (cat build.log && exit 1) |
| 23 | - make | 25 | - make |
| 26 | - prove -Itests tests | ||
| 24 | - sh runtests.sh | 27 | - sh runtests.sh |
