diff --git a/.travis.yml b/.travis.yml index 0d6119a31..4525692c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,26 +10,6 @@ before_install: - sudo apt-get install libdb4.8-dev libdb4.8++-dev -y script: - - cd src ; RELEASE=1 STATIC=TRUE make -j$(nproc) -f makefile.unix ; strip okcashd ; cd - - -# - make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/ # FIXME; workaround are the following lines starting with "mkdir" - - mkdir -p appdir/usr/bin ; cp src/okcashd ./appdir/usr/bin/ - - mkdir -p appdir/usr/share/applications ; cp doc/linux-desktop/okcashd.desktop ./appdir/usr/share/applications/ - - mkdir -p appdir/usr/share/icons/hicolor/256x256/apps ; cp doc/linux-desktop/okcashd.png ./appdir/usr/share/icons/hicolor/256x256/apps/ - - wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" - - chmod a+x linuxdeployqt-continuous-x86_64.AppImage - - unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH - - export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file - - ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs - - ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage - -after_success: - - find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq - - # curl --upload-file Okcash*.AppImage https://transfer.sh/okcash-git.$(git rev-parse --short HEAD)-x86_64.AppImage - - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh - - bash upload.sh Okcash*.AppImage* - -branches: - except: - - # Do not build tags that we create when we upload to GitHub Releases - - /^(?i:continuous)/ + - qmake PREFIX=/usr + - make -j$(nproc) + - cd src ; RELEASE=1 STATIC=TRUE make -j$(nproc) -f makefile.unix ; strip okcashd ; cd - \ No newline at end of file diff --git a/cqnode.travis.yml b/cqnode.travis.yml new file mode 100644 index 000000000..0d6119a31 --- /dev/null +++ b/cqnode.travis.yml @@ -0,0 +1,35 @@ +language: cpp +compiler: gcc +os: linux +dist: trusty + +before_install: + - sudo add-apt-repository ppa:bitcoin/bitcoin -y + - sudo apt-get -qq update + - 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 + - sudo apt-get install libdb4.8-dev libdb4.8++-dev -y + +script: + - cd src ; RELEASE=1 STATIC=TRUE make -j$(nproc) -f makefile.unix ; strip okcashd ; cd - + +# - make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/ # FIXME; workaround are the following lines starting with "mkdir" + - mkdir -p appdir/usr/bin ; cp src/okcashd ./appdir/usr/bin/ + - mkdir -p appdir/usr/share/applications ; cp doc/linux-desktop/okcashd.desktop ./appdir/usr/share/applications/ + - mkdir -p appdir/usr/share/icons/hicolor/256x256/apps ; cp doc/linux-desktop/okcashd.png ./appdir/usr/share/icons/hicolor/256x256/apps/ + - wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" + - chmod a+x linuxdeployqt-continuous-x86_64.AppImage + - unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH + - export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file + - ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs + - ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage + +after_success: + - find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq + - # curl --upload-file Okcash*.AppImage https://transfer.sh/okcash-git.$(git rev-parse --short HEAD)-x86_64.AppImage + - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh + - bash upload.sh Okcash*.AppImage* + +branches: + except: + - # Do not build tags that we create when we upload to GitHub Releases + - /^(?i:continuous)/ diff --git a/ctest.travis.yml b/ctest.travis.yml deleted file mode 100644 index 4525692c1..000000000 --- a/ctest.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -language: cpp -compiler: gcc -os: linux -dist: trusty - -before_install: - - sudo add-apt-repository ppa:bitcoin/bitcoin -y - - sudo apt-get -qq update - - 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 - - sudo apt-get install libdb4.8-dev libdb4.8++-dev -y - -script: - - qmake PREFIX=/usr - - make -j$(nproc) - - cd src ; RELEASE=1 STATIC=TRUE make -j$(nproc) -f makefile.unix ; strip okcashd ; cd - \ No newline at end of file