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-CI build #1

Closed
dgomesbr opened this issue Mar 2, 2015 · 4 comments
Closed

Add Travis-CI build #1

dgomesbr opened this issue Mar 2, 2015 · 4 comments
Labels

Comments

@dgomesbr
Copy link

dgomesbr commented Mar 2, 2015

self explanatory.

@dgomesbr
Copy link
Author

it's failing:

FAILURE: Build failed with an exception.
* What went wrong:
Could not evaluate onlyIf predicate for task ':pugnotification:signArchives'.
> Unable to retrieve secret key from key ring file '/home/halyson/.gnupg/secring.gpg' as it does not exist
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Explanation: http://stackoverflow.com/questions/9338428/using-secret-api-keys-on-travis-ci

@halysongoncalves
Copy link
Owner

@dgomesbr Meu querido, consegue configurar o travis novamente? E caso de algum problema ao assinar o artefato te passo key de release.
Abs!

@dgomesbr
Copy link
Author

Opa, tudo bem?

Dá uma olhada lá https://travis-ci.org/halysongoncalves/pugnotification, estou sem o SDK aqui no note, adicione o arquivo .travis.yml com o conteudo abaixo na raiz do projeto.

language: android

android:
  components:
    - build-tools-20.0.0
    - android-17
  licenses:
    - android-sdk-license-5be876d5

jdk:
  - oraclejdk7
  - oraclejdk8

after_success:
  - .buildscript/deploy_snapshot.sh

env:
  global:
    - secure: "K6cyrlYhMmCHeez4uwkcQ5QeRLdCiegbbHnj8qKzbgcu0cDsvr2mMr6LLtjMOay1KMaxrW3QBFqz5nzTs/X0UnLl8jnt0Qdsf44BlIIZcJ9oldXFKAAWUZ3wlHTdz8ll+EBA31O1hkjAqRY4RDvS1hk842pRxXae3Dfodnjhz24="
    - secure: "pOUA/hwXvpwt7VeRIoAZPiIn2qc88c8/sx1AhN3YhSyCiERLEtuxZqFmCgZE/80U41sBlvg75lpvXpEsND4eriYiRNMDPyD7el2NYxTzseWAykZYe1+Gaeiq1mO83w4pTI7QUrrkU/9+rl9Ccqe6E0heER510ERyLH0nGb8vaRM="

branches:
  except:
    - gh-pages

notifications:
  email: false

sudo: false

cache:
  directories:
    - $HOME/.m2

@halysongoncalves
Copy link
Owner

@dgomesbr Thanks my dear!

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

Successfully merging a pull request may close this issue.

2 participants