Skip to content

Commit

Permalink
modernise
Browse files Browse the repository at this point in the history
  • Loading branch information
gijzelaerr committed Jul 14, 2015
1 parent 1be6f3c commit fbfb69a
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 42 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build/

34 changes: 34 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
os:
- linux

language: cpp

compiler:
- clang
- gcc

install:
- sudo apt-get update -q
- sudo apt-get install -qy python-software-properties
- sudo add-apt-repository -y ppa:radio-astro/main
- sudo apt-get update -q
- sudo apt-get install cmake libcasacore2-dev libboost-dev wcslib-dev
libcfitsio3-dev libboost-system-dev, libboost-thread-dev, gfortran

before_script:
- mkdir build
- cd build
- cmake ..
-DUSE_FFTW3=ON
-DBUILD_TESTING=ON
-DUSE_OPENMP=OFF
-DUSE_HDF5=ON
-DBUILD_PYTHON=ON
-DDATA_DIR=$PWD
-DSOFA_ROOT_DIR=$HOME

script:
- make -j4
- make test
- sudo make install

81 changes: 81 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@

# Casarest

This is the casarest package, the remainder of the AIPS++
libraries. It consists of the libraries:
* msvis

* calibration
* synthesis
* flagging
* simulators
* ionosphere

The prorgram lwimager (part of synthesis) is the main deliverable.


# Installation

## Obtaining the source

The casarest source code is maintained on github.

You can obtain it using:

```
$ git clone https://github.com/casacore/casarest
```

## Requirements

To compile casarest you need to meet the following requirements:


* cmake
* casacore (2.0 or later)
* boost
* wcslib
* cfitsio
* fortran

On Debian / Ubuntu you can install these with:
```
$ sudo apt-get install cmake libcasacore2-dev libboost-dev wcslib-dev \
libcfitsio3-dev libboost-system-dev, libboost-thread-dev, gfortran
```

## Compilation

In the casacore source folder run:
```
mkdir build
cd build
cmake ..
make
make install
```

## Ubuntu 14.04 packages

If you run Ubuntu 14.04 you can use precompiled binary packages

https://launchpad.net/~radio-astro/+archive/ubuntu/main

installation commands:
```
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:radio-astro/main
sudo apt-get update
sudo apt-get install casarest
```


# Problems & bugs

If you have any issues compiling or using casacore, please open an issue on
the issue tracker on github.


# travis

[![Build Status](https://travis-ci.org/casacore/casarest.svg?branch=master)](https://travis-ci.org/casacore/casarest)
42 changes: 0 additions & 42 deletions README.txt

This file was deleted.

0 comments on commit fbfb69a

Please sign in to comment.