openethereum/util/.travis.yml

34 lines
1.1 KiB
YAML
Raw Normal View History

2015-11-28 23:13:05 +01:00
language: rust
2015-11-28 23:21:14 +01:00
2015-11-28 23:46:36 +01:00
rust:
2015-11-30 01:21:37 +01:00
- beta
2015-11-28 23:46:36 +01:00
os:
2015-11-29 00:04:57 +01:00
#- linux
- osx
2015-11-28 23:46:36 +01:00
2015-11-28 23:21:14 +01:00
before_script:
2015-11-28 23:30:23 +01:00
# g++4.8 for C++11 which is required by rocksdb
2015-11-29 00:11:16 +01:00
#- if [ $TRAVIS_OS_NAME == "linux" ]; then
#sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
#sudo apt-get update -y -qq
#sudo apt-get install -qq --yes --force-yes g++-4.8
#sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50
2015-11-28 23:30:23 +01:00
2015-11-29 00:11:16 +01:00
#wget https://github.com/facebook/rocksdb/archive/rocksdb-3.13.tar.gz
#tar xvf rocksdb-3.13.tar.gz && cd rocksdb-rocksdb-3.13 && make shared_lib
#sudo make install
#cd ..
#else
2015-11-29 00:13:32 +01:00
- brew update
- brew install rocksdb
2015-11-29 00:11:16 +01:00
#fi
2015-11-28 23:21:14 +01:00
after_success:
2015-11-29 00:11:16 +01:00
#- if [ $TRAVIS_OS_NAME == "linux" ]; then
#sudo apt-get install libcurl4-openssl-dev libelf-dev libdw-dev
#wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz
#tar xzf master.tar.gz && mkdir kcov-master/build && cd kcov-master/build && cmake .. && make && sudo make install && cd ../.. &&
#kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/ethcore_util-*
#fi