travis-deploy-main.sh 645 B

12345678910111213141516171819
  1. #!/bin/bash
  2. set -euo pipefail
  3. perlbrew switch slic3r-perl
  4. cpanm local::lib
  5. eval $(perl -Mlocal::lib=$TRAVIS_BUILD_DIR/local-lib)
  6. cd package/linux && make -f build_shell.mk && mv Slic3r* $TRAVIS_BUILD_DIR && cd $TRAVIS_BUILD_DIR
  7. if [ -z ${WXDIR+x} ]; then
  8. package/linux/make_archive.sh linux-x64
  9. else
  10. LD_LIBRARY_PATH=$WXDIR/lib package/linux/make_archive.sh linux-x64
  11. fi
  12. package/linux/appimage.sh x86_64
  13. package/deploy/sftp.sh linux ~/slic3r-upload.rsa `pwd`/*.bz2 `pwd`/Slic3r*.AppImage
  14. package/deploy/sftp-symlink.sh linux ~/slic3r-upload.rsa AppImage Slic3r*.AppImage
  15. package/deploy/sftp-symlink.sh linux ~/slic3r-upload.rsa tar.bz2 *.bz2