This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: php | |
php: | |
- 5.4 | |
before_script: | |
- echo "xdebug.max_nesting_level = 500" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini | |
- mkdir -p shippable/testresults | |
- mkdir -p shippable/codecoverage | |
- mysql -e 'create database if not exists test_db;' | |
- composer config -g github-oauth.github.com $GITHUB_TOKEN | |
- composer self-update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$data=array(); | |
$data['ipExternal']=file_get_contents("http://myip.dnsomatic.com/"); | |
$data['hostname']=trim(`hostname`); | |
$data['ipInternal']=gethostbyname($data['hostname']); | |
$data['php_version']= PHP_VERSION; | |
$data['mysql_version']=trim(`mysql --version`); | |
$ch=curl_init('https://zapier.com/hooks/catch/o149u0/'); |