blob: ffa09a64fe1238417c485bb739e2200c479b6582 [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License
#
os: linux
sudo: false
language: python
python: 2.7
addons:
apt:
packages:
- cmake
- libssl-dev
- libsasl2-dev
- sasl2-bin
- swig
- python-dev
- valgrind
- ruby
- ruby-dev
- python3-dev
- php5
- golang
# Libuv build requirements
- automake
- libtool
install:
- pip install --upgrade pip
- pip install tox
- gem install rspec
- gem install simplecov || true
- gem install minitest
# Build and install libuv 1.0 from source, trusty only has 0.10
- PREFIX=$PWD/install
- git submodule add -b v1.x https://github.com/libuv/libuv
- git submodule update --init
- pushd libuv
- sh autogen.sh
- ./configure --prefix $PREFIX
- make && make install
- popd
before_script:
- PREFIX=$PWD/install
- export PATH=${HOME}/.local/bin:${PATH}
- mkdir Build
- cd Build
- cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX
script:
- cmake --build . --target install && ctest -V