| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/gdrive/php-samples/ |
Upload File : |
# Copyright 2015 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
branches:
only:
- master
language: php
dist: trusty
php:
- 7.0
- 7.1
- 7.2
env:
global:
- GOOGLE_APPLICATION_CREDENTIALS=$TRAVIS_BUILD_DIR/credentials.json
- PATH="${HOME}/.composer/vendor/bin:${PATH}"
before_install:
# set Google service account credentials using environemnt variables
- echo "$GOOGLE_CREDENTIALS_BASE64" | base64 --decode > "$GOOGLE_APPLICATION_CREDENTIALS"
# Install PHP CS Fixer on 5.6
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then composer global require friendsofphp/php-cs-fixer:^2.0; fi
script:
- bash test.sh
# Run the CS check on PHP 5.6 only
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then php-cs-fixer fix --dry-run --diff .; fi