Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Travis CI. #160

Merged
merged 1 commit into from
Feb 16, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Added Travis CI.
  • Loading branch information
elouanKeryell-Even committed Feb 16, 2018
commit 15b75bf4338f4615465b245448e2b638badcc0e2
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
language: bash

sudo: required

services:
- docker

env:
- DOCKER_COMPOSE_VERSION=1.17.1

before_install:
- sudo apt-get update
- sudo apt-get install xmlstarlet
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin

script:
# Required to avoid the following error on elasticsearch container startup:
# ERROR: [1] bootstrap checks failed
# [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
- sudo sysctl -w vm.max_map_count=262144
- bash scripts/tests-integration.sh

if: NOT branch =~ ^WIP.*$