-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
109 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
before_install: if [ "${TRAVIS_OS_NAME}" = "osx" ]; then | ||
echo; | ||
else | ||
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; | ||
sudo add-apt-repository --yes ppa:kalakris/cmake; | ||
sudo apt-get update -qq; | ||
sudo apt-get install -y gcc-4.8 g++-4.8 cmake libxml-security-c-dev libssl-dev; | ||
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90; | ||
wget http://www.codesynthesis.com/download/xsd/4.0/linux-gnu/x86_64/xsd_4.0.0-1_amd64.deb; | ||
sudo dpkg -i xsd_4.0.0-1_amd64.deb; | ||
fi | ||
script: | ||
- mkdir build | ||
- cd build | ||
- cmake .. | ||
- make | ||
|
||
os: | ||
- linux | ||
- osx | ||
|
||
env: | ||
global: | ||
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created | ||
# via the "travis encrypt" command using the project repo's public key | ||
- secure: "VTpLjRFkVZeqSiP/tea7b5WiMU+PjQJlpny8/QEYazRNhn/uie69aT8VvEdkpsUM1AEx8yPnNmVGShvoNNaOi/AoqynTIKgeGPCj44h6lCnPpByGVur0avc5WrRj2xBbPBBUw1rsL65wZ13MufmRLUwnmmVYQZ3qDBdpgZvCEhA=" | ||
|
||
addons: | ||
coverity_scan: | ||
project: | ||
name: "open-eid/libdigidocpp" | ||
description: "Build submitted via Travis CI" | ||
notification_email: raul@metsma.ee | ||
build_command_prepend: "mkdir coverity; cd coverity; cmake .." | ||
build_command: make | ||
branch_pattern: coverity_scan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Please read the [common contributing guidelines](https://github.com/open-eid/org/blob/master/CONTRIBUTING.md) before you continue! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# libdigidocpp | ||
|
||
* License: LGPL 2.1 | ||
* © Estonian Information System Authority | ||
|
||
## Building | ||
[![Build Status](https://travis-ci.org/open-eid/libdigidocpp.svg?branch=master)](https://travis-ci.org/open-eid/libdigidocpp) | ||
[![Coverity Scan Build Status](https://scan.coverity.com/projects/727/badge.svg)](https://scan.coverity.com/projects/727) | ||
|
||
### Ubuntu | ||
|
||
1. Install dependencies | ||
|
||
sudo apt-get install cmake libxml-security-c-dev xsdcxx libssl-dev | ||
|
||
2. Fetch the source | ||
|
||
git clone --recursive https://github.com/open-eid/libdigidocpp | ||
cd libdigidocpp | ||
|
||
3. Configure | ||
|
||
mkdir build | ||
cd build | ||
cmake .. | ||
|
||
4. Build | ||
|
||
make | ||
|
||
5. Install | ||
|
||
sudo make install | ||
|
||
6. Execute | ||
|
||
/usr/local/bin/digidoc-tool | ||
### OSX | ||
|
||
1. Install dependencies from [http://www.cmake.org](http://www.cmake.org) | ||
|
||
sh prepare_osx_build_environment.sh all | ||
|
||
2. Fetch the source | ||
|
||
git clone --recursive https://github.com/open-eid/libdigidocpp | ||
cd libdigidocpp | ||
|
||
3. Configure | ||
|
||
mkdir build | ||
cd build | ||
cmake .. | ||
|
||
4. Build | ||
|
||
make | ||
|
||
5. Install | ||
|
||
sudo make install | ||
|
||
6. Execute | ||
|
||
/usr/local/bin/digidoc-tool | ||
|
||
## Support | ||
Official builds are provided through official distribution point [installer.id.ee](https://installer.id.ee). If you want support, you need to be using official builds. | ||
|
||
Source code is provided on "as is" terms with no warranty (see license for more information). Do not file Github issues with generic support requests. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters