You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
exiv2/.travis.yml

40 lines
908 B
YAML

language: cpp
sudo: false
addons:
apt:
packages:
- cmake
- zlib1g-dev
- libssh-dev
- libssh
- libcurl4-openssl-dev
- gettext
sources:
- kalakris-cmake
compiler:
- gcc
- clang
before_install:
- echo $LANG
- echo $LC_ALL
- if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install libssh curl; fi
- rvm use $RVM --install --binary --fuzzy
- gem update --system
# - gem --version
script:
- cmake -DCMAKE_INSTALL_PREFIX=..\dist -EXIV2_ENABLE_NLS=ON -DEXIV2_ENABLE_CURL=OFF -DEXIV2_ENABLE_SSH=OFF .
- cmake --build . && cmake --build . --target install
- cmake -DCMAKE_INSTALL_PREFIX=..\dist2 -EXIV2_ENABLE_NLS=ON -DEXIV2_ENABLE_CURL=ON -DEXIV2_ENABLE_SSH=ON -DEXIV2_ENABLE_WEBREADY=ON .
- cmake --build . && cmake --build . --target install
notifications:
email: false
os:
- linux
- osx