-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
47 lines (41 loc) · 1.3 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
language: cpp
compiler: clang
before_install:
- wget https://github.com/Kitware/CMake/releases/download/v3.15.5/cmake-3.15.5-Linux-x86_64.sh -P /tmp/
- sudo bash /tmp/cmake-3.15.5-Linux-x86_64.sh --skip-license --prefix=/usr/local
- export PATH=/usr/local/bin:$PATH
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- pkg-config
- libssl-dev
- zlib1g-dev
- uuid-dev
- wget
- checkinstall
before_script:
- mkdir build
- cd build
- cmake ..
- make
script:
- cd $TRAVIS_BUILD_DIR/build
- export FIFTPATH=$TRAVIS_BUILD_DIR/third-party/ton/crypto/fift/lib
- export FUNCPATH=$TRAVIS_BUILD_DIR/third-party/ton/crypto/smartcont
- ./xeus-fift-test
before_deploy:
- cd $TRAVIS_BUILD_DIR/build
- export XFIFT_VERSION=$(bash ../scripts/xfift_version.sh)
- echo "Jupyter kernel for the Fift language\n" > description-pak
- sudo checkinstall --arch="amd64" --pkgname="xeus-fift" --pkgversion=$XFIFT_VERSION --pkgrelease="1" --pkglicense="GPL-3" --pkgsource="https://github.com/atomex-me/xeus-fift" --maintainer="mz@atomex.me" --install=no -y -D -d2 make install
deploy:
provider: releases
token: $GH_TOKEN
file: $TRAVIS_BUILD_DIR/build/xeus-fift_$XFIFT_VERSION-1_amd64.deb
draft: true
edge: true
overwrite: true
on:
branch: master