Skip to content

Commit

Permalink
Add continuous integration. (#2)
Browse files Browse the repository at this point in the history
Do not run all tests – they require too much time in CI. Especially the nonlinear tests seem to run very slow.
  • Loading branch information
PetterS committed Sep 2, 2018
1 parent 04d045a commit bcbc2fa
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .circleci/config.yml
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
build:
docker:
- image: circleci/18.04-scm
- image: gcc:latest

working_directory: ~/source

Expand All @@ -12,12 +12,14 @@ jobs:
- run:
name: Install CMake
command: |
sudo apt-get install cmake
apt-get update
apt-get install -y cmake
- run:
name: Run CMake
command: |
cd ..
mkdir build
cd build
cmake ../source
Expand All @@ -29,8 +31,15 @@ jobs:
make
- run:
name: Test
name: Test Core
command: |
cd ..
cd build
make test
ctest -R minimum_core
- run:
name: Test Linear
command: |
cd ..
cd build
ctest -R minimum_linear

0 comments on commit bcbc2fa

Please sign in to comment.