1
0
mirror of https://github.com/actix/actix-website synced 2024-11-30 19:14:36 +01:00
actix-website/.travis.yml

38 lines
866 B
YAML
Raw Normal View History

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:
- 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
- RUSTFLAGS="-A dead-code -A unused-variables"
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"