i trying travis upload artifacts @ end of build using documentation found @ http://docs.travis-ci.com/user/uploading-artifacts/. contents of .travis.yml file follows:
sudo: false branches: only: - master language: node_js python: - '2.7' node_js: - '0.10' addons: artifacts: true env: global: - secure: "encrypted string" - secure: "encrypted string" - artifacts_debug=1 - artifacts_bucket=fireplacetests - api=dev before_script: - make install - export display=:99.0 - sh -e /etc/init.d/xvfb start - bash tests/serve.sh - make install-webqa script: - make uitest-webqa when build finishes see following messages:
uploading artifacts (beta) $ travis_artifacts_install artifacts version v0.7.8-9-g0908379 revision=09083791933418ce154332d7ef83bdee4330adb8 $ export artifacts_paths="$(git ls-files -o | tr \"\\n\" \":\")" /home/travis/build.sh: line 73: /bin/uname: argument list long /home/travis/build.sh: line 81: /bin/date: argument list long $ artifacts upload /home/travis/build.sh: line 41: /home/travis/bin/artifacts: argument list long /home/travis/build.sh: line 73: /bin/uname: argument list long /home/travis/build.sh: line 81: /bin/date: argument list long /home/travis/build.sh: line 65: -: syntax error: operand expected (error token "-") done uploading artifacts i have tried looking @ contents of /home/travis/build.sh during build, cannot correlate error(s) above.
can suggest problem might be, and/or have travis artifact uploading thing working?
it turns out there problem path. docs suggest don't need specify specific paths, found if added explicit paths upload @ least attempted work. example,
addons: artifacts: paths: - my_path allowed upload proceed.
Comments
Post a Comment