Skip to content

Commit

Permalink
Upload artifacts to s3
Browse files Browse the repository at this point in the history
  • Loading branch information
feragon committed Dec 27, 2020
1 parent b7e94fc commit 0f0e76d
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ matrix:
- libgl1-mesa-glx
- libglapi-mesa
- libgles2-mesa
- s3cmd

services:
- xvfb
Expand All @@ -44,7 +45,19 @@ matrix:

script:
- cmake --version
- ./scripts/travis.sh
#- ./scripts/travis.sh
- return 1

after_failure:
- |
bash -c 'echo "[default]
host_base=${S3_HOST_BASE}
host_bucket=${S3_HOST_BUCKET}
bucket_location=${S3_BUCKET_LOCATION}
use_https=True
access_key=${S3_ACCESS_KEY}
secret_key=${S3_SECRET_KEY}" > .s3cfg'
- s3cmd --recursive --config=.s3cfg put /home/travis/build/LibreCAD/LibreCAD_3/unittest/rendering/res s3://librecad-s3-artifacts

cache: ccache

Expand Down

0 comments on commit 0f0e76d

Please sign in to comment.