2016-07-01 16:37:13 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
language: c
|
2016-07-29 16:05:42 +02:00
|
|
|
env: TARGET=linux
|
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
language: c
|
|
|
|
env: TARGET=windows
|
2016-07-01 16:37:13 +02:00
|
|
|
- os: osx
|
|
|
|
language: c
|
|
|
|
osx_image: xcode7.3
|
2016-07-29 16:05:42 +02:00
|
|
|
env: TARGET=osx
|
2016-07-01 16:37:13 +02:00
|
|
|
|
|
|
|
cache:
|
2016-07-29 16:05:42 +02:00
|
|
|
apt: true
|
2016-07-01 16:37:13 +02:00
|
|
|
ccache: true
|
|
|
|
directories:
|
|
|
|
- build
|
2016-07-29 16:05:42 +02:00
|
|
|
- depends/built
|
2016-07-01 16:37:13 +02:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
- date +%s > "${TRAVIS_BUILD_DIR}/start_time"
|
|
|
|
- ls -lh build
|
|
|
|
- du -h -d 2 build
|
2014-08-20 19:00:00 +02:00
|
|
|
|
2016-07-01 08:02:29 +02:00
|
|
|
install: true
|
2016-07-01 16:37:13 +02:00
|
|
|
script:
|
2016-07-29 16:05:42 +02:00
|
|
|
- if [[ "${TARGET}" == "osx" ]]; then ./reproducible_build.sh -t -o -c; fi
|
|
|
|
- if [[ "${TARGET}" == "linux" ]]; then ./reproducible_build.sh -t -o -c; fi
|
|
|
|
- if [[ "${TARGET}" == "windows" ]]; then ./packaging/build_windows.sh; fi
|
|
|
|
- if [[ "${TARGET}" == "osx" ]]; then zip -j "lbrycrd-${TARGET}.zip" src/lbrycrdd src/lbrycrd-cli src/lbrycrd-tx; fi
|
|
|
|
- if [[ "${TARGET}" == "linux" ]]; then zip -j "lbrycrd-${TARGET}.zip" src/lbrycrdd src/lbrycrd-cli src/lbrycrd-tx; fi
|
|
|
|
- if [[ "${TARGET}" == "windows" ]]; then zip -j "lbrycrd-${TARGET}.zip" src/lbrycrdd.exe src/lbrycrd-cli.exe src/lbrycrd-tx.exe; fi
|
2016-07-01 16:37:13 +02:00
|
|
|
|
|
|
|
before_cache:
|
|
|
|
- ls -lh build
|
|
|
|
- du -h -d 2 build
|
2016-07-06 20:55:21 +02:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
- provider: releases
|
|
|
|
file: lbrycrd-linux.zip
|
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
tags: true
|
2016-07-29 16:05:42 +02:00
|
|
|
condition: "$TARGET = linux"
|
2016-07-06 20:55:21 +02:00
|
|
|
api_key:
|
|
|
|
secure: "ibN+PQg84f0tgJLV3KaHjkHmgFNOPqBLIrSU42moen22xxT2VIn0j7DkFaLLts1fs/+/gxmrvhOQ0vUFJqmflZ3kCeyedP/CVgZz7D7HRVK0cYUMJ2F9VWMZAFIX6A67OUlypqZqzKAKrZHx3HXky6Z8NBU23JgWqDm8PcrbbgMLvB2lvWVASjJVKreaL9BOxFOOOrAj6xAIm9ogTOnFVI/AhufNOKOTZaiprcbqMngwHeaILbwEJVqv5P2YUurC6Sq+QaH26tX00DtsYOW+n8AA3Fe48+L6rqa6Q8ru+dhPuR/Apr2+DTZ+npzY8leV3A7mYUeLo4JLaEH6n1TLVt65cX7nuesS7KsSKBSxs7q7bsqeapDcMskZz5JR4EK4S96CuHZEnn6+efpH8IrxWpbeO3EibJfyT8tMJKw7Zym5mPr+sz6xSlVMoBVcCm+7z9e7Zcqukdvdy8jM7sGP9qusqEhpojh0o+gPgr9p13SfR+6OCpj9gwxPCnZO8RBfh1cbz9vFSVlDyUYcpI2CCCpPazA1glTsEDk+VtznnUMmWksXWfxBFV81jQB2SnoZKlnsiEuNMwhiMCMEkRFo74+AsUr2UjmKJ5KC8ACwsn475PoLZBh2J6fyXBHMdbrGfK+Zt5K2IHRRtDaZVT4eHqYzxh8KhalsuBNxCo3FygI="
|
2016-07-15 22:15:09 +02:00
|
|
|
- provider: releases
|
|
|
|
file: lbrycrd-osx.zip
|
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
tags: true
|
2016-07-29 16:05:42 +02:00
|
|
|
condition: "$TARGET = osx"
|
|
|
|
api_key:
|
|
|
|
secure: "ibN+PQg84f0tgJLV3KaHjkHmgFNOPqBLIrSU42moen22xxT2VIn0j7DkFaLLts1fs/+/gxmrvhOQ0vUFJqmflZ3kCeyedP/CVgZz7D7HRVK0cYUMJ2F9VWMZAFIX6A67OUlypqZqzKAKrZHx3HXky6Z8NBU23JgWqDm8PcrbbgMLvB2lvWVASjJVKreaL9BOxFOOOrAj6xAIm9ogTOnFVI/AhufNOKOTZaiprcbqMngwHeaILbwEJVqv5P2YUurC6Sq+QaH26tX00DtsYOW+n8AA3Fe48+L6rqa6Q8ru+dhPuR/Apr2+DTZ+npzY8leV3A7mYUeLo4JLaEH6n1TLVt65cX7nuesS7KsSKBSxs7q7bsqeapDcMskZz5JR4EK4S96CuHZEnn6+efpH8IrxWpbeO3EibJfyT8tMJKw7Zym5mPr+sz6xSlVMoBVcCm+7z9e7Zcqukdvdy8jM7sGP9qusqEhpojh0o+gPgr9p13SfR+6OCpj9gwxPCnZO8RBfh1cbz9vFSVlDyUYcpI2CCCpPazA1glTsEDk+VtznnUMmWksXWfxBFV81jQB2SnoZKlnsiEuNMwhiMCMEkRFo74+AsUr2UjmKJ5KC8ACwsn475PoLZBh2J6fyXBHMdbrGfK+Zt5K2IHRRtDaZVT4eHqYzxh8KhalsuBNxCo3FygI="
|
|
|
|
- provider: releases
|
|
|
|
file: lbrycrd-windows.zip
|
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
tags: true
|
|
|
|
condition: "$TARGET = windows"
|
2016-07-15 22:15:09 +02:00
|
|
|
api_key:
|
|
|
|
secure: "ibN+PQg84f0tgJLV3KaHjkHmgFNOPqBLIrSU42moen22xxT2VIn0j7DkFaLLts1fs/+/gxmrvhOQ0vUFJqmflZ3kCeyedP/CVgZz7D7HRVK0cYUMJ2F9VWMZAFIX6A67OUlypqZqzKAKrZHx3HXky6Z8NBU23JgWqDm8PcrbbgMLvB2lvWVASjJVKreaL9BOxFOOOrAj6xAIm9ogTOnFVI/AhufNOKOTZaiprcbqMngwHeaILbwEJVqv5P2YUurC6Sq+QaH26tX00DtsYOW+n8AA3Fe48+L6rqa6Q8ru+dhPuR/Apr2+DTZ+npzY8leV3A7mYUeLo4JLaEH6n1TLVt65cX7nuesS7KsSKBSxs7q7bsqeapDcMskZz5JR4EK4S96CuHZEnn6+efpH8IrxWpbeO3EibJfyT8tMJKw7Zym5mPr+sz6xSlVMoBVcCm+7z9e7Zcqukdvdy8jM7sGP9qusqEhpojh0o+gPgr9p13SfR+6OCpj9gwxPCnZO8RBfh1cbz9vFSVlDyUYcpI2CCCpPazA1glTsEDk+VtznnUMmWksXWfxBFV81jQB2SnoZKlnsiEuNMwhiMCMEkRFo74+AsUr2UjmKJ5KC8ACwsn475PoLZBh2J6fyXBHMdbrGfK+Zt5K2IHRRtDaZVT4eHqYzxh8KhalsuBNxCo3FygI="
|
2016-07-01 16:37:13 +02:00
|
|
|
|