2018-04-14 05:17:52 +02:00
|
|
|
sudo: false
|
|
|
|
|
2018-05-24 05:43:27 +02:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- OPENSSL_VERSION=openssl-1.0.2
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- sudo add-apt-repository -y ppa:0k53d-karl-f830m/openssl
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -qq libssl-dev libelf-dev libdw-dev cmake gcc binutils-dev libiberty-dev
|
|
|
|
|
2018-05-23 22:14:08 +02:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/cargo
|
|
|
|
- $TRAVIS_BUILD_DIR/examples/target
|
|
|
|
|
2018-05-22 23:15:08 +02:00
|
|
|
install:
|
2018-05-22 23:20:20 +02:00
|
|
|
- curl -L https://github.com/gohugoio/hugo/releases/download/v0.40.3/hugo_0.40.3_Linux-64bit.tar.gz | tar xzvf -
|
2018-05-22 23:15:08 +02:00
|
|
|
|
2018-05-23 22:11:43 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- env:
|
|
|
|
- TASK=build
|
|
|
|
script: ./hugo
|
|
|
|
- env:
|
|
|
|
- TASK=check
|
2018-05-23 22:12:35 +02:00
|
|
|
language: rust
|
2018-05-23 22:11:43 +02:00
|
|
|
script: cd examples; cargo check
|
2018-05-22 23:15:08 +02:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: script
|
|
|
|
script: bash .deploy.sh
|
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
branch: master
|
2018-05-23 22:11:43 +02:00
|
|
|
condition: $TRAVIS_PULL_REQUEST = "false" && $TASK = "build"
|