PHP Classes

File: tests/run.sh

Recommend this page to a friend!
  Classes of Marcin Sztolcman  >  String Formatter  >  tests/run.sh  >  Download  
File: tests/run.sh
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: String Formatter
Template engine to format text strings
Author: By
Last change: added php7.1 for test stack
Date: 5 years ago
Size: 647 bytes
 

Contents

Class file image Download
#!/bin/bash

set -o nounset

echo 5.3
docker run -it -v "$PWD":/usr/src/myapp -w /usr/src/myapp php:5.3-cli vendor/bin/phpunit "$@"
echo 5.4
docker run -it -v "$PWD":/usr/src/myapp -w /usr/src/myapp php:5.4-cli vendor/bin/phpunit "$@"
echo 5.5
docker run -it -v "$PWD":/usr/src/myapp -w /usr/src/myapp php:5.5-cli vendor/bin/phpunit "$@"
echo 5.6
docker run -it -v "$PWD":/usr/src/myapp -w /usr/src/myapp php:5.6-cli vendor/bin/phpunit "$@"
echo 7.0
docker run -it -v "$PWD":/usr/src/myapp -w /usr/src/myapp php:7.0-cli vendor/bin/phpunit "$@"
echo 7.1
docker run -it -v "$PWD":/usr/src/myapp -w /usr/src/myapp php:7.1-cli vendor/bin/phpunit "$@"
For more information send a message to info at phpclasses dot org.