Skip to content

Instantly share code, notes, and snippets.

@mfornasa
Created September 22, 2014 06:49
Show Gist options
  • Save mfornasa/0c942f96e7b3acdc4f25 to your computer and use it in GitHub Desktop.
Save mfornasa/0c942f96e7b3acdc4f25 to your computer and use it in GitHub Desktop.
language: node_js
node_js:
- '0.10'
addons:
artifacts:
key:
secure: ...
secret:
secure: ...
bucket: my-bucket
debug: true
paths: $(ls /var/log/*.log | tr "\n" ":")
target-paths: test
Using worker: worker-linux-2-1.bb.travis-ci.com:travis-linux-6
Installing an SSH key from: default repository key
Key fingerprint: f4:3e:8b:23:1d:78:2e:eb:b2:91:18:76:3d:3f:72:c8
git.1
0.58s$ git clone --depth=50 --branch=bug_artifacts ...
Cloning into '.../...'...
Warning: Permanently added the RSA host key for IP address '192.30.252.128' to the list of known hosts.
remote: Counting objects: 1489, done.
remote: Compressing objects: 100% (697/697), done.
remote: Total 1489 (delta 884), reused 1317 (delta 774)
Receiving objects: 100% (1489/1489), 560.47 KiB | 0 bytes/s, done.
Resolving deltas: 100% (884/884), done.
Checking connectivity... done.
$ cd .../...
git.4
$ git checkout -qf 1c90d87cc962a7f54f3a06585387323a69d19c9b
couchdb stop/waiting
Setting environment variables from repository settings
$ export encrypted_a8598dc69bbc_key=[secure]
$ export encrypted_a8598dc69bbc_iv=[secure]
$ export encrypted_b330ee53e2e6_key=[secure]
$ export encrypted_b330ee53e2e6_iv=[secure]
0.42s$ nvm install 0.10
######################################################################## 100.0%
Now using node v0.10.32
0.32s0.01s$ node --version
v0.10.32
0.32s$ npm --version
1.4.28
0.01s$ make test
make: Nothing to be done for `test'.
The command "make test" exited with 0.
Uploading Artifacts (BETA)
artifacts.0
0.23sartifacts version v0.7.5-2-gce60604 revision=ce60604638c851ac5c0e35d19bf7c689ef6a2329
$ export ARTIFACTS_PATHS="$(ls /var/log/*.log | tr "\n" ":")"
/home/travis/build.sh: line 335: export: `ARTIFACTS_TARGET-PATHS=test': not a valid identifier
artifacts.1
6.11s$ artifacts upload
INFO: uploading with settings
bucket: my-bucket
cache_control: private
permissions: private
INFO: uploading: /var/log/fontconfig.log (size: 1.2KB)
download_url: https://my-bucket.s3.amazonaws.com/.../.../85/85.1/var/log/fontconfig.log
INFO: uploading: /var/log/memcached.log (size: 0B)
download_url: https://my-bucket.s3.amazonaws.com/.../.../85/85.1/var/log/memcached.log
INFO: uploading: /var/log/dpkg.log (size: 514KB)
download_url: https://my-bucket.s3.amazonaws.com/.../.../85/85.1/var/log/dpkg.log
[...]
Done uploading artifacts
Done. Your build exited with 0.
language: node_js
node_js:
- '0.10'
addons:
artifacts:
key:
secure: ...
secret:
secure: ...
bucket: my-bucket
debug: true
paths: $(ls /var/log/*.log | tr "\n" ":")
target_paths: test
Using worker: worker-linux-13-1.bb.travis-ci.com:travis-linux-11
Installing an SSH key from: default repository key
Key fingerprint: f4:3e:8b:23:1d:78:2e:eb:b2:91:18:76:3d:3f:72:c8
git.1
0.56s$ git clone --depth=50 --branch=bug_artifacts ...
Cloning into '.../...'...
Warning: Permanently added the RSA host key for IP address '192.30.252.131' to the list of known hosts.
remote: Counting objects: 1461, done.
remote: Compressing objects: 100% (688/688), done.
remote: Total 1461 (delta 867), reused 1288 (delta 755)
Receiving objects: 100% (1461/1461), 557.64 KiB | 0 bytes/s, done.
Resolving deltas: 100% (867/867), done.
Checking connectivity... done.
$ cd ...
git.4
$ git checkout -qf c0443fb8f00a178fdad5fd442c189b8068feab5a
couchdb stop/waiting
Setting environment variables from repository settings
$ export encrypted_a8598dc69bbc_key=[secure]
$ export encrypted_a8598dc69bbc_iv=[secure]
$ export encrypted_b330ee53e2e6_key=[secure]
$ export encrypted_b330ee53e2e6_iv=[secure]
3.81s$ nvm install 0.10
######################################################################## 100.0%
Now using node v0.10.32
0.33s0.01s$ node --version
v0.10.32
0.29s$ npm --version
1.4.28
0.01s$ make test
make: Nothing to be done for `test'.
The command "make test" exited with 0.
Uploading Artifacts (BETA)
artifacts.0
0.17sartifacts version v0.7.5-2-gce60604 revision=ce60604638c851ac5c0e35d19bf7c689ef6a2329
$ export ARTIFACTS_PATHS="$(ls /var/log/*.log | tr "\n" ":")"
artifacts.1
6.16s$ artifacts upload
INFO: uploading with settings
bucket: my_bucket
cache_control: private
permissions: private
INFO: uploading: /var/log/memcached.log (size: 0B)
download_url: https://my_bucket.s3.amazonaws.com/.../.../86/86.1/var/log/memcached.log
INFO: uploading: /var/log/alternatives.log (size: 71KB)
download_url: https://my_bucket.s3.amazonaws.com/.../.../86/86.1/var/log/alternatives.log
INFO: uploading: /var/log/bootstrap.log (size: 53KB)
download_url: https://my_bucket.s3.amazonaws.com/.../.../86/86.1/var/log/bootstrap.log
INFO: uploading: /var/log/dpkg.log (size: 514KB)
download_url: https://my_bucket.s3.amazonaws.com/.../.../86/86.1/var/log/dpkg.log
[...]
Done uploading artifacts
Done. Your build exited with 0.
language: node_js
node_js:
- '0.10'
env: ARTIFACTS_TARGET_PATHS=test
addons:
artifacts:
key:
secure: ...
secret:
secure: ...
bucket: my-bucket
debug: true
paths: $(ls /var/log/*.log | tr "\n" ":")
Using worker: worker-linux-7-1.bb.travis-ci.com:travis-linux-13
Installing an SSH key from: default repository key
Key fingerprint: f4:3e:8b:23:1d:78:2e:eb:b2:91:18:76:3d:3f:72:c8
git.1
0.86s$ git clone --depth=50 --branch=bug_artifacts ...
Cloning into '.../...'...
remote: Counting objects: 1428, done.
remote: Compressing objects: 100% (686/686), done.
remote: Total 1428 (delta 844), reused 1244 (delta 724)
Receiving objects: 100% (1428/1428), 554.97 KiB | 0 bytes/s, done.
Resolving deltas: 100% (844/844), done.
Checking connectivity... done.
$ cd .../...
git.4
$ git checkout -qf 2e44b5ce5f0bd770b26e4f248a6c2bb0ea991d7d
couchdb stop/waiting
Setting environment variables from repository settings
$ export encrypted_a8598dc69bbc_key=[secure]
$ export encrypted_a8598dc69bbc_iv=[secure]
$ export encrypted_b330ee53e2e6_key=[secure]
$ export encrypted_b330ee53e2e6_iv=[secure]
Setting environment variables from .travis.yml
$ export ARTIFACTS_TARGET_PATHS=test
0.45s$ nvm install 0.10
######################################################################## 100.0%
Now using node v0.10.32
0.34s0.01s$ node --version
v0.10.32
0.34s$ npm --version
1.4.28
0.01s$ make test
make: Nothing to be done for `test'.
The command "make test" exited with 0.
Uploading Artifacts (BETA)
artifacts.0
0.29sartifacts version v0.7.5-2-gce60604 revision=ce60604638c851ac5c0e35d19bf7c689ef6a2329
$ export ARTIFACTS_PATHS="$(ls /var/log/*.log | tr "\n" ":")"
artifacts.1
6.19s$ artifacts upload
INFO: uploading with settings
bucket: my-bucket
cache_control: private
permissions: private
INFO: uploading: /var/log/alternatives.log (size: 71KB)
download_url: https://my-bucket.s3.amazonaws.com/.../.../87/87.1/var/log/alternatives.log
INFO: uploading: /var/log/bootstrap.log (size: 53KB)
download_url: https://my-bucket.s3.amazonaws.com/.../.../87/87.1/var/log/bootstrap.log
INFO: uploading: /var/log/dpkg.log (size: 514KB)
download_url: https://my-bucket.s3.amazonaws.com/.../.../87/87.1/var/log/dpkg.log
[...]
Done uploading artifacts
Done. Your build exited with 0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment