mirror of
https://github.com/leozide/leocad
synced 2025-01-30 20:34:56 +01:00
Update .travis.yml
This commit is contained in:
parent
5cd5fda576
commit
42d8826da5
1 changed files with 6 additions and 6 deletions
12
.travis.yml
12
.travis.yml
|
@ -35,10 +35,10 @@ jobs:
|
|||
- make -j$(nproc)
|
||||
after_success:
|
||||
- make install INSTALL_ROOT=AppDir
|
||||
- wget https://github.com/leozide/leocad/releases/download/v19.07.1/Library-Linux-14384.zip -O library.zip;
|
||||
- unzip library.zip;
|
||||
- mkdir -p AppDir/usr/share/leocad;
|
||||
- mv library.bin AppDir/usr/share/leocad/library.bin;
|
||||
- wget https://github.com/leozide/leocad/releases/download/v19.07.1/Library-Linux-14384.zip -O library.zip
|
||||
- unzip library.zip
|
||||
- mkdir -p AppDir/usr/share/leocad
|
||||
- mv library.bin AppDir/usr/share/leocad/library.bin
|
||||
- wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
|
||||
- chmod a+x linuxdeployqt*.AppImage
|
||||
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
|
||||
|
@ -49,7 +49,7 @@ jobs:
|
|||
- ./squashfs-root/usr/bin/appimagetool AppDir/
|
||||
- mv ./LeoCAD-$VERSION-x86_64.AppImage ./LeoCAD-Linux-$VERSION-x86_64.AppImage
|
||||
- "curl -s -H 'Authorization: token $GITHUB_TOKEN' https://api.github.com/repos/leozide/leocad/commits/master -o repo.txt"
|
||||
- export REMOTE=$(grep -Po '(?<=: \")(([a-z0-9])\w+)(?=\")' -m 1 repo.txt)
|
||||
- "export REMOTE=$(grep -Po '(?<=: \")(([a-z0-9])\w+)(?=\")' -m 1 repo.txt)"
|
||||
- export LOCAL=$(git rev-parse HEAD)
|
||||
- if [[ "$REMOTE" != "$LOCAL" ]]; then echo "Build no longer current. $REMOTE vs $LOCAL - aborting upload."; exit 0; fi
|
||||
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
|
||||
|
@ -95,7 +95,7 @@ jobs:
|
|||
- mv LeoCAD.dmg LeoCAD-macOS-$(git rev-parse --short HEAD).dmg
|
||||
after_success:
|
||||
- "curl -s -H 'Authorization: token $GITHUB_TOKEN' https://api.github.com/repos/leozide/leocad/commits/master -o repo.txt"
|
||||
- export REMOTE=$(ggrep -Po '(?<=: \")(([a-z0-9])\w+)(?=\")' -m 1 repo.txt)
|
||||
- "export REMOTE=$(ggrep -Po '(?<=: \")(([a-z0-9])\w+)(?=\")' -m 1 repo.txt)"
|
||||
- export LOCAL=$(git rev-parse HEAD)
|
||||
- if [[ "$REMOTE" != "$LOCAL" ]]; then echo "Build no longer current. $REMOTE vs $LOCAL - aborting upload."; exit 0; fi
|
||||
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
|
||||
|
|
Loading…
Add table
Reference in a new issue