Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
added pytest-flask to travis config file.
Browse files Browse the repository at this point in the history
updated JDK.
  • Loading branch information
mostafa committed Apr 25, 2017
1 parent 03401e1 commit c06f3a5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
27 changes: 21 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,32 @@
sudo: false
sudo: required
dist: trusty

language: python

jdk:
- oraclejdk7
- oraclejdk8
env:
matrix:
- NEO4J_VERSION="3.1.3"

before_install:
# install Neo4j locally:
- wget http://dist.neo4j.org/neo4j-community-2.3.10-unix.tar.gz
- tar -xzf neo4j-community-2.3.10-unix.tar.gz
- ./neo4j-community-2.3.10/bin/neo4j start
- wget dist.neo4j.org/neo4j-community-$NEO4J_VERSION-unix.tar.gz
- tar -xzf neo4j-community-$NEO4J_VERSION-unix.tar.gz
- mkdir -p neo4j-community-$NEO4J_VERSION/data/dbms
- cp .travis/auth neo4j-community-$NEO4J_VERSION/data/dbms/
- neo4j-community-$NEO4J_VERSION/bin/neo4j start

python:
- "2.7"
- "pypy"

install:
- pip install flask
- pip install flask_classful
- pip install pytest-flask
- python setup.py -q install
script: py.test

script:
- jdk_switcher use oraclejdk8
- py.test
1 change: 1 addition & 0 deletions .travis/auth
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
neo4j:SHA-256,69CA61213B8EA291591E16994F7AAB8DC73B2A95C4EC11DC61551EFA432D2089,B4D7B3992B0FDA45AF117DE93E59E87E:

0 comments on commit c06f3a5

Please sign in to comment.