Added travis config

This commit is contained in:
Martin 2016-11-28 01:54:16 +01:00
parent c9d15ff9ad
commit 7a00a04aae
2 changed files with 45 additions and 0 deletions

11
.travis.yml Normal file
View File

@ -0,0 +1,11 @@
language: cpp
compiler:
- clang
- gcc
addons:
apt:
packages:
- libfuse-dev
- libcurl4-nss-dev
- libcrypto++-dev
script: ./switch_build.sh server && autoreconf --install && ./configure --with-mountvhd && make && make dist && ./switch_build.sh client && autoreconf --install && ./configure --enable-headless && make && make dist

34
readme.md Normal file
View File

@ -0,0 +1,34 @@
## UrBackup
Please see the website at https://www.urbackup.org for more informations, wiki, forums and the issue tracker.
### Building on Linux/MacOS
Use
./switch_build.sh server
to switch to a server build and
./switch_build.sh client
git clone https://github.com/uroni/urbackup_frontend_wx client
cd client && git checkout BRANCH
to switch to building a client.
Afterwards build the client/server using
./configure
make -j8
### Building on Windows
If git is in PATH you can download all dependencies by running `update_deps.bat`.
Afterwards opening and compiling the solution `UrBackupBackend.sln` with
Microsoft Visual Studio 2015 should work.
`build_client.bat` and `build_server.bat` build the installers but you need
to install a lot of dependencies like WiX, NSIS plus plugins, etc.
[![Build Status](https://travis-ci.org/uroni/urbackup_backend.svg?branch=dev)](https://travis-ci.org/uroni/urbackup_backend)