Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Tests using travis #256

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open

[FEATURE] Tests using travis #256

wants to merge 1 commit into from

Conversation

rvock
Copy link
Contributor

@rvock rvock commented Sep 17, 2016

I've updated the composer.json and added a .travis.yml to enable testing using Travis CI.

To enable automatic tests, you need to activate the realurl-repository here:
https://docs.travis-ci.com/user/getting-started/

Note: I've also changed typo3-cms-core requirement to "^6.2.14 || ^7.6 || ^8.0".

If you want the travis badge, you can add this to the README.md:

[![Build Status](https://travis-ci.org/dmitryd/typo3-realurl.svg?branch=master)](https://travis-ci.org/dmitryd/typo3-realurl)

Build Status (This image is for the branch on my fork)

The problem I find with using the badge is, that there is no support for automatic selection of the current branch. But you also could add two badges: One for master, one for development:
http://stackoverflow.com/questions/32751929/get-travis-shield-on-github-to-reflect-selected-branch-status/32762503#32762503

@dmitryd
Copy link
Owner

dmitryd commented Sep 17, 2016

While useful, it is not currently a priority. I have limited time, so I'd rather spend it on bugs and direct improvements. So priority for this is very low. Sorry about that.

@astehlik
Copy link
Contributor

I started working on this before I found this pull request.

My version is running tests with the current TYPO3 master (taking the directory changes into account). Please feel free to use parts of my solution for inspiration :)

https://github.com/dmitryd/typo3-realurl/compare/development...Intera:feature/travis-ci?expand=1

A current build history can be found here:

https://travis-ci.org/Intera/typo3-extension-realurl/builds/202042285

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

Successfully merging this pull request may close these issues.

None yet

3 participants