Skip to content

Commit 33fdd46

Browse files
committed
travis updt
1 parent f97cb86 commit 33fdd46

File tree

3 files changed

+38
-38
lines changed

3 files changed

+38
-38
lines changed

.travis.yml

+3-23
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,6 @@ before_install:
1010
- sudo apt-get install libdb4.8-dev libdb4.8++-dev -y
1111

1212
script:
13-
- cd src ; RELEASE=1 STATIC=TRUE make -j$(nproc) -f makefile.unix ; strip okcashd ; cd -
14-
15-
# - make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/ # FIXME; workaround are the following lines starting with "mkdir"
16-
- mkdir -p appdir/usr/bin ; cp src/okcashd ./appdir/usr/bin/
17-
- mkdir -p appdir/usr/share/applications ; cp doc/linux-desktop/okcashd.desktop ./appdir/usr/share/applications/
18-
- mkdir -p appdir/usr/share/icons/hicolor/256x256/apps ; cp doc/linux-desktop/okcashd.png ./appdir/usr/share/icons/hicolor/256x256/apps/
19-
- wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
20-
- chmod a+x linuxdeployqt-continuous-x86_64.AppImage
21-
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
22-
- export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file
23-
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs
24-
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage
25-
26-
after_success:
27-
- find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
28-
- # curl --upload-file Okcash*.AppImage https://transfer.sh/okcash-git.$(git rev-parse --short HEAD)-x86_64.AppImage
29-
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
30-
- bash upload.sh Okcash*.AppImage*
31-
32-
branches:
33-
except:
34-
- # Do not build tags that we create when we upload to GitHub Releases
35-
- /^(?i:continuous)/
13+
- qmake PREFIX=/usr
14+
- make -j$(nproc)
15+
- cd src ; RELEASE=1 STATIC=TRUE make -j$(nproc) -f makefile.unix ; strip okcashd ; cd -

cqnode.travis.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
language: cpp
2+
compiler: gcc
3+
os: linux
4+
dist: trusty
5+
6+
before_install:
7+
- sudo add-apt-repository ppa:bitcoin/bitcoin -y
8+
- sudo apt-get -qq update
9+
- sudo apt-get install -y qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools build-essential libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libminiupnpc-dev libqt5webkit5-dev
10+
- sudo apt-get install libdb4.8-dev libdb4.8++-dev -y
11+
12+
script:
13+
- cd src ; RELEASE=1 STATIC=TRUE make -j$(nproc) -f makefile.unix ; strip okcashd ; cd -
14+
15+
# - make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/ # FIXME; workaround are the following lines starting with "mkdir"
16+
- mkdir -p appdir/usr/bin ; cp src/okcashd ./appdir/usr/bin/
17+
- mkdir -p appdir/usr/share/applications ; cp doc/linux-desktop/okcashd.desktop ./appdir/usr/share/applications/
18+
- mkdir -p appdir/usr/share/icons/hicolor/256x256/apps ; cp doc/linux-desktop/okcashd.png ./appdir/usr/share/icons/hicolor/256x256/apps/
19+
- wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
20+
- chmod a+x linuxdeployqt-continuous-x86_64.AppImage
21+
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
22+
- export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file
23+
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs
24+
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage
25+
26+
after_success:
27+
- find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
28+
- # curl --upload-file Okcash*.AppImage https://transfer.sh/okcash-git.$(git rev-parse --short HEAD)-x86_64.AppImage
29+
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
30+
- bash upload.sh Okcash*.AppImage*
31+
32+
branches:
33+
except:
34+
- # Do not build tags that we create when we upload to GitHub Releases
35+
- /^(?i:continuous)/

ctest.travis.yml

-15
This file was deleted.

0 commit comments

Comments
 (0)