-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
45 lines (39 loc) · 1.15 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
language: minimal
dist: bionic
sudo: required
cache: false
addons:
apt:
sources:
- sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main'
- sourceline: 'deb-src http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main'
- key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- clang-8
- llvm-8
- llvm-8-dev
- lld-8
- python3
- python3-setuptools
- python3-wheel
- python3-pip
- ninja-build
- make
- wget
- tar
- doxygen
install:
- sudo pip3 install meson
# Install linkle
- LINKLE_VERSION=v0.2.7
- wget https://github.com/MegatonHammer/linkle/releases/download/$LINKLE_VERSION/linkle-$LINKLE_VERSION-x86_64-unknown-linux-musl.tar.gz
- tar -xvf linkle-$LINKLE_VERSION-x86_64-unknown-linux-musl.tar.gz
script:
- PATH="$TRAVIS_BUILD_DIR:$PATH" HYDROSPHERE_SYSROOT="${TRAVIS_BUILD_DIR}/sysroot" HYDROSPHERE_LLVM_SUFFIX="-8" make prepare-launch
deploy:
provider: pages
skip_cleanup: true
local_dir: $TRAVIS_BUILD_DIR/sysroot/usr/share/doc/libhydrosphere/html
github_token: $GH_REPO_TOKEN
on:
branch: master