Skip to content

Instantly share code, notes, and snippets.

@paristote
Created January 25, 2016 16:25
Show Gist options
  • Save paristote/efdf40629a5cc9a38085 to your computer and use it in GitHub Desktop.
Save paristote/efdf40629a5cc9a38085 to your computer and use it in GitHub Desktop.
Travis yml examples

https://github.com/twitter/digits-android/blob/master/.travis.yml

language: android
jdk: oraclejdk7
android:
  components:
    - build-tools-23.0.1
    - android-22
    - extra-android-m2repository

script:
    - echo "twitterConsumerKey=$TWITTER_CONSUMER_KEY" >> samples/app/fabric.properties
    - echo "twitterConsumerSecret=$TWITTER_CONSUMER_SECRET" >> samples/app/fabric.properties
    - echo "apiKey=$API_KEY" >> samples/app/fabric.properties
    - echo "apiSecret=$API_SECRET" >> samples/app/fabric.properties
    - ./gradlew assemble test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment