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 build #3

Closed
1 of 3 tasks
ronaldtse opened this issue Jun 18, 2018 · 7 comments · Fixed by #9
Closed
1 of 3 tasks

Add Travis build #3

ronaldtse opened this issue Jun 18, 2018 · 7 comments · Fixed by #9

Comments

@ronaldtse
Copy link
Contributor

ronaldtse commented Jun 18, 2018

(Edited by @skalee)

  • Test that formula passes brew audit. (extracted to Run "brew audit" in Travis CI #8)
  • Test that stable version is installable from source.
  • Test that HEAD version is installable from source.
@skalee
Copy link
Contributor

skalee commented Jun 15, 2019

I don't have write permissions to this repository, but following should work:

lang: minimal
os: osx

# Refer to: https://docs.travis-ci.com/user/reference/osx/#macos-version
osx_image:
  - xcode10.2
  - xcode9.4
  - xcode8.3
  - xcode7.3

env:
  global:
    TAP_NAME=riboseinc/rnp
    FORMULA_NAME=${TAP_NAME}/rnp
    OPTS=""

install:
  - brew update
  - brew tap ${TAP_NAME} "${TRAVIS_BUILD_DIR}"
  - brew install ${FORMULA_NAME} ${OPTS}

script:
  - brew test ${FORMULA_NAME}

matrix:
  include:
    - env: OPTS="--HEAD"

Possible improvements include running brew audit, and building binary packages, which can be uploaded e.g. to Bintray or attached to a GitHub release.

@ronaldtse
Copy link
Contributor Author

@skalee I've given you access. Could you help update it? Thanks! 😉

@ronaldtse
Copy link
Contributor Author

Please help also include the other improvements, they will be definitely useful!

@skalee
Copy link
Contributor

skalee commented Jun 17, 2019

@ronaldtse Travis CI needs to be enabled for https://travis-ci.org/riboseinc/homebrew-rnp.

@ronaldtse
Copy link
Contributor Author

@skalee done!

@skalee
Copy link
Contributor

skalee commented Jun 19, 2019

Building binary packages extracted to a separate issue #7.

@skalee
Copy link
Contributor

skalee commented Jun 19, 2019

Running brew audit seems to take forever. No idea why. Extracted to #8.

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 a pull request may close this issue.

2 participants