deploy-tarball.sh 450 B

12345678910111213141516
  1. #!/usr/bin/env bash
  2. if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CC" = "gcc" ]; then
  3. echo -e "Host brlcad.org\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
  4. eval "$(ssh-agent -s)"
  5. chmod 600 ../.travis/travis-upload.pem
  6. ssh-add ../.travis/travis-upload.pem
  7. cpack --config CPackSourceConfig.cmake -G TGZ;
  8. for file in SuperTux-*; do
  9. echo "Uploading $file";
  10. scp $file travis-upload@brlcad.org:/files/
  11. done
  12. fi