Liam Middlebrook - Game Developer

site-home

TravisCI Uploading Artifacts to S3

17 Mar 2015

Setting your TravisCI enviornment variables

Set the following enviornment variables in your TravisCI settings for your repository:

ARTIFACTS_KEY=(AWS access key id)

ARTIFACTS_SECRET=(AWS secret access key)

ARTIFACTS_BUCKET=(S3 bucket name)

Setting your TravisCI config

addons:
  artifacts:
    paths:
#   - filename of file to upload 
#   - you can also do commands like $(ls logs/*.log | tr "\n" ":")