Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Configure Travis when the developer requests that Travis be integrated into their project #88

Open
2 tasks
rjkip opened this issue Feb 17, 2017 · 1 comment
Milestone

Comments

@rjkip
Copy link
Contributor

rjkip commented Feb 17, 2017

# .travis.yml
sudo: false
language: php
php:
  - 5.6
  - 7.0
  - 7.1

env:
  global:
    - SYMFONY_ENV=test # For Symfony projects

cache:
  directories:
    - ~/.composer/cache/files/

before_script:
  - phpenv config-add .travis.php.ini
  - composer self-update
  - composer install --prefer-dist

script:
  - ant

branches:
  only:
    - master
    - develop
# .travis.php.ini
date.timezone = "<Current PHP runtime's timezone>"
@rjkip rjkip added this to the 3.1.0 milestone Feb 17, 2017
@rjkip
Copy link
Contributor Author

rjkip commented Feb 17, 2017

@rpkamp wrote:

composer self-update does not seem to be needed anymore. For smulweb I don't have this in the before_script of my .travis.yml, but travis does it anyway (for PHP 5.5, 5.6, 7.0 and 7.1)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant