forked from cylondata/cylon
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
42 lines (35 loc) · 1.42 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
dist: focal
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- wget
- pkg-config
jdk: openjdk10
cache:
directories:
- $HOME/.cache/bazel
- $HOME/.cache/apt
before_install:
- echo "Installing C++ and Python"
- sudo apt-get update && sudo apt-get install -y --no-install-recommends --no-install-suggests g++ python-dev python3-dev python3-pip maven libnuma-dev libc-dev python3-venv openmpi-bin libopenmpi-dev flex bison
- sudo pip3 install cpplint
- cp /var/cache/apt/archives/*.deb $HOME/.cache/apt/
- echo "Installing UCX"
- wget https://github.com/openucx/ucx/releases/download/v1.10.1/ucx-1.10.1.tar.gz -P $HOME/ucx
- (cd $HOME/ucx && tar xzf ucx-1.10.1.tar.gz)
- (cd $HOME/ucx/ucx-1.10.1 && ./contrib/configure-release --prefix=$PWD/install && make -j8 install)
jobs:
include:
- stage: "Build Stages"
script:
- ./build.sh -pyenv $(pwd)/ENV -bpath $(pwd)/build --cpp --release --test --style-check --cmake-flags "-DCYLON_PARQUET=ON -DCYLON_UCX=ON -DUCX_LIBDIR=$HOME/ucx/ucx-1.10.1/install/lib -DUCX_INCLUDEDIR=$HOME/ucx/ucx-1.10.1/install/include"
name: "Build CPP"
- script:
- python3 -m venv ENV
- ./build.sh -pyenv $(pwd)/ENV -bpath $(pwd)/build --python --pytest --cmake-flags -DCYLON_PARQUET=ON
name: "Build Python"
- script:
- ./build.sh -pyenv $(pwd)/ENV -bpath $(pwd)/build --java
name: "Build Java"