mirror of
https://github.com/sonertari/SSLproxy
synced 2024-11-04 12:00:15 +00:00
34 lines
1.4 KiB
YAML
34 lines
1.4 KiB
YAML
language: c
|
|
script: make && make travis && ./src/sslproxy -V
|
|
matrix:
|
|
include:
|
|
# - os: linux
|
|
# compiler: gcc
|
|
# env: SSL=ubuntu EVENT=ubuntu
|
|
# before_install:
|
|
# - sudo apt-get install -qq libssl-dev libevent-dev libnet1-dev libpcap-dev check
|
|
# # Do use the following line: curl https://sh.rustup.rs -sSf | sh
|
|
# # Download rustup.sh and run with -y, otherwise it stops and prompts for an answer
|
|
# - curl -f -L https://static.rust-lang.org/rustup.sh -O
|
|
# # Don't forget to add .cargo/bin to $PATH
|
|
# - sh rustup.sh -y && source $HOME/.cargo/env && cargo install testproxy
|
|
- os: linux
|
|
compiler: clang
|
|
env: SSL=openssl-1.1.1c EVENT=libevent-2.1.11
|
|
cache:
|
|
directories:
|
|
- $HOME/opt
|
|
before_install:
|
|
- sudo apt-get install -qq libnet1-dev libpcap-dev check
|
|
# Do use the following line: curl https://sh.rustup.rs -sSf | sh
|
|
# Download rustup.sh and run with -y, otherwise it stops and prompts for an answer
|
|
- curl -f -L https://static.rust-lang.org/rustup.sh -O
|
|
# Don't forget to add .cargo/bin to $PATH
|
|
- sh rustup.sh -y && source $HOME/.cargo/env && cargo install testproxy
|
|
install:
|
|
- ./Mk/bin/install-opt.sh
|
|
before_script:
|
|
- export OPENSSL_BASE="$HOME/opt/$SSL"
|
|
- export LIBEVENT_BASE="$HOME/opt/$EVENT"
|
|
- export LD_LIBRARY_PATH="$HOME/opt/$SSL/lib":"$HOME/opt/$EVENT/lib"
|