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
|
2019-07-22 07:16:15 +02:00
|
|
|
# - sudo apt-get update -qq
|
2018-05-24 05:43:27 +02:00
|
|
|
- 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:
|
2020-01-03 05:10:24 +01:00
|
|
|
- curl -L https://github.com/gohugoio/hugo/releases/download/v0.62.1/hugo_0.62.1_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
|
2020-01-16 21:18:20 +01:00
|
|
|
script: cd examples; cargo check; cargo test
|
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"
|