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

Add travis config #3

Merged
merged 1 commit into from
Aug 14, 2015
Merged

Add travis config #3

merged 1 commit into from
Aug 14, 2015

Conversation

chriskuehl
Copy link
Contributor

script:
- 'if [ "$BUILD_TYPE" == "make" ]; then make build && ./test ./dumb-init; fi'
- 'if [ "$BUILD_TYPE" == "debian" ]; then make builddeb && sudo dpkg -i dist/*.deb && ./test; fi'
- 'if [ "$BUILD_TYPE" == "python" ]; then pip install tox && tox; fi'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a little hackish but I can't find a better way to do it. Sadly Travis doesn't support build matricies involving languages or separate install/script targets.

asottile added a commit that referenced this pull request Aug 14, 2015
@asottile asottile merged commit 12b1b69 into Yelp:master Aug 14, 2015
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.

2 participants