2019-01-20 09:18:40 +00:00
#
# s3fs - FUSE-based file system backed by Amazon S3
#
# Copyright(C) 2007 Randy Rizun <rrizun@gmail.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
2015-03-07 20:05:20 +00:00
language : cpp
2017-08-11 14:09:43 +00:00
matrix :
include :
- os : linux
sudo : required
dist : trusty
cache : apt
before_install :
- sudo apt-get update -qq
2019-01-14 02:48:40 +00:00
- sudo apt-get install -qq attr cppcheck libfuse-dev openjdk-7-jdk
2017-08-11 14:09:43 +00:00
- sudo update-alternatives --set java /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
script :
- ./autogen.sh
2019-01-27 01:15:04 +00:00
- ./configure CPPFLAGS='-I/usr/local/opt/openssl/include' CXXFLAGS='-std=c++03'
2017-08-11 14:09:43 +00:00
- make
- make cppcheck
- make check -C src
- modprobe fuse
- make check -C test
- cat test/test-suite.log
- os : osx
osx_image : xcode8.3
before_install :
- brew update
2017-11-22 11:21:57 +00:00
- brew install truncate
2017-08-11 14:09:43 +00:00
- brew tap caskroom/cask
- brew cask install osxfuse
- if [ -f /Library/Filesystems/osxfusefs.fs/Support/load_osxfusefs ]; then sudo chmod +s /Library/Filesystems/osxfusefs.fs/Support/load_osxfusefs ; elif [ -f /Library/Filesystems/osxfuse.fs/Contents/Resources/load_osxfuse ]; then sudo chmod +s /Library/Filesystems/osxfuse.fs/Contents/Resources/load_osxfuse ; fi
- brew install gnu-sed
- sudo ln -s /usr/local/opt/gnu-sed/bin/gsed /usr/local/bin/sed
- sudo ln -s /usr/local/opt/coreutils/bin/gstdbuf /usr/local/bin/stdbuf
- brew install cppcheck
script :
- ./autogen.sh
2019-01-27 01:15:04 +00:00
- PKG_CONFIG_PATH=/usr/local/opt/curl/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig ./configure CXXFLAGS='-std=c++03'
2017-08-11 14:09:43 +00:00
- make
- make cppcheck
- make check -C src
- if [ -f /Library/Filesystems/osxfusefs.fs/Support/load_osxfusefs ]; then /Library/Filesystems/osxfusefs.fs/Support/load_osxfusefs ; elif [ -f /Library/Filesystems/osxfuse.fs/Contents/Resources/load_osxfuse ]; then /Library/Filesystems/osxfuse.fs/Contents/Resources/load_osxfuse ; fi
- make check -C test
- cat test/test-suite.log
2018-11-27 14:53:24 +00:00
- os : linux-ppc64le
sudo : required
dist : trusty
cache : apt
before_install :
- sudo add-apt-repository -y ppa:openjdk-r/ppa
- sudo apt-get update -qq
2019-04-09 12:06:19 +00:00
- sudo apt-get install -qq attr cppcheck libfuse-dev openjdk-7-jdk
2018-11-27 14:53:24 +00:00
- sudo update-alternatives --set java /usr/lib/jvm/java-7-openjdk-ppc64el/jre/bin/java
script :
- ./autogen.sh
2019-01-27 01:15:04 +00:00
- ./configure CPPFLAGS='-I/usr/local/opt/openssl/include' CXXFLAGS='-std=c++03'
2018-11-27 14:53:24 +00:00
- make
- make cppcheck
- make check -C src
- modprobe fuse
- make check -C test
- cat test/test-suite.log
2019-01-20 09:18:40 +00:00
#
# Local variables:
# tab-width: 4
# c-basic-offset: 4
# End:
# vim600: noet sw=4 ts=4 fdm=marker
# vim<600: noet sw=4 ts=4
#