Giter Site home page Giter Site logo

arangodb-travis's Introduction

arangodb-travis

Integrating ArangoDB with TravisCI

Getting started

All .travis.yml config files have the same basic structure. Here's an example config for a python app that needs to run tests in concert with ArangoDB. ArangoDB is installed and started in the before_install section.

language: python

python:
  - "2.7"
  - "3.5"

before_install:
- echo arangodb3 arangodb/password password root | sudo debconf-set-selections  # set username 'root'
- echo arangodb3 arangodb/password_again password root | sudo debconf-set-selections  # set password 'root'
- curl -s -L https://raw.githubusercontent.com/brennv/arangodb-travis/master/setup_arangodb.sh -o setup_arangodb.sh
- chmod +x setup_arangodb.sh
- ./setup_arangodb.sh

install: pip install -r requirements.txt

script: python -m unittest discover tests/

ArangoDB versions

The tags for this repo follow release tags for ArangoDB.

Example curl for installer script with version tag:

curl -s -L https://raw.githubusercontent.com/brennv/arangodb-travis/v3.3.1/setup_arangodb.sh

Examples

PRs for more examples are welcome to help fill out the examples/ folder for more use cases.

Background

For background see https://www.arangodb.com/download/travis-ci/ and #207

Way ahead

Add example for testing across multiple db versions.

Write a chef travis-cookbook for general inclusion as a 'native' travis service.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.