maint/cip-test-examples
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | if echo $CIP_ENV | grep -q FFI_PLATYPUS_TEST_EXAMPLES ; then |
| 4 | |
| 5 | dir=$(ls -1d FFI-Platypus-* | grep -v tar.gz) |
| 6 | cip sudo apt-get install libtcod1 libnotify4 libzmq5 |
| 7 | cip exec cpanm -n Capture::Tiny Test::Script Path::Tiny Convert::Binary::C YAML File::chdir Alien::Libbz2 FFI::Platypus FFI::C |
| 8 | cip exec bash -c "cd $dir && prove -vm xt/author/example.t" |
| 9 | |
| 10 | fi |