mirror of
https://github.com/vgough/encfs.git
synced 2024-11-21 15:33:16 +01:00
Reorganize CI files (#597)
This commit is contained in:
parent
a37e139bba
commit
94683a6011
@ -1,15 +1,14 @@
|
||||
task:
|
||||
name: FreeBSD
|
||||
freebsd_instance:
|
||||
matrix:
|
||||
image: freebsd-12-1-release-amd64
|
||||
install_script:
|
||||
- pkg install -y bash cmake fusefs-libs gettext perl5
|
||||
- ln -s /usr/local/bin/bash /bin/bash
|
||||
- ./ci/setup.sh
|
||||
- kldload fuse
|
||||
script:
|
||||
- ./build.sh
|
||||
env:
|
||||
INTEGRATION: false
|
||||
allow_failures: true
|
||||
|
||||
task:
|
||||
name: MacOS
|
||||
|
29
.travis.yml
29
.travis.yml
@ -1,8 +1,9 @@
|
||||
language: cpp
|
||||
|
||||
matrix:
|
||||
|
||||
include:
|
||||
- os: linux
|
||||
|
||||
- language: cpp
|
||||
os: linux
|
||||
compiler: gcc
|
||||
dist: bionic
|
||||
sudo: required
|
||||
@ -14,10 +15,15 @@ matrix:
|
||||
- libfuse-dev
|
||||
- gettext
|
||||
- cmake
|
||||
before_script:
|
||||
- sudo modprobe fuse
|
||||
script:
|
||||
- ./build.sh
|
||||
env:
|
||||
- SUDO_TESTS=true
|
||||
|
||||
- os: linux
|
||||
- language: cpp
|
||||
os: linux
|
||||
compiler: gcc
|
||||
dist: xenial
|
||||
sudo: required
|
||||
@ -29,10 +35,15 @@ matrix:
|
||||
- libfuse-dev
|
||||
- gettext
|
||||
- cmake
|
||||
before_script:
|
||||
- sudo modprobe fuse
|
||||
script:
|
||||
- ./build.sh
|
||||
env:
|
||||
- SUDO_TESTS=true
|
||||
|
||||
- os: linux
|
||||
- language: cpp
|
||||
os: linux
|
||||
compiler: clang
|
||||
dist: xenial
|
||||
sudo: false
|
||||
@ -46,11 +57,7 @@ matrix:
|
||||
- cmake
|
||||
- clang-4.0
|
||||
- clang-tidy-4.0
|
||||
env:
|
||||
- CC=clang-4.0 CXX=clang++-4.0 CHECK=true INTEGRATION=false
|
||||
|
||||
before_script:
|
||||
- ./ci/setup.sh
|
||||
|
||||
script:
|
||||
- ./build.sh
|
||||
env:
|
||||
- CC=clang-4.0 CXX=clang++-4.0 CHECK=true INTEGRATION=false
|
||||
|
14
ci/setup.sh
14
ci/setup.sh
@ -1,14 +0,0 @@
|
||||
#!/bin/bash -eu
|
||||
|
||||
: ${INTEGRATION:=true}
|
||||
|
||||
if [[ "$INTEGRATION" == "true" ]]; then
|
||||
if uname -s | grep -q Linux; then
|
||||
sudo modprobe fuse
|
||||
elif uname -s | grep -q FreeBSD; then
|
||||
kldload fuse
|
||||
elif uname -s | grep -q Darwin; then
|
||||
brew cask install osxfuse
|
||||
brew reinstall openssl
|
||||
fi
|
||||
fi
|
Loading…
Reference in New Issue
Block a user