Added travis-specific config␏

pull/7/head
Hannah Ward 2016-12-28 11:04:30 +00:00
parent 0e9f39a37d
commit 50e0cec2b8
No known key found for this signature in database
GPG Key ID: 6F3BAD60DE190290
2 changed files with 36 additions and 1 deletions

View File

@ -11,7 +11,7 @@ services:
- mysql
env:
- OPENTAXII_CONFIG=$TRAVIS_BUILD_DIR/config/config.yaml URL="http://ec2-52-42-201-6.us-west-2.compute.amazonaws.com" APIKEY=Vjy0ra7wO6w6si7hbjxX52nARfVpaAO6Tm6lxeSm
- OPENTAXII_CONFIG=$TRAVIS_BUILD_DIR/config/config.travis.yaml URL="http://ec2-52-42-201-6.us-west-2.compute.amazonaws.com" APIKEY=Vjy0ra7wO6w6si7hbjxX52nARfVpaAO6Tm6lxeSm
before_install:
- sudo apt-get install mysql-server-5.6 mysql-client-core-5.6 mysql-client-5.6

35
config/config.travis.yaml Normal file
View File

@ -0,0 +1,35 @@
---
domain: "localhost:9000"
support_basic_auth: yes
persistence_api:
class: opentaxii.persistence.sqldb.SQLDatabaseAPI
parameters:
db_connection: mysql://taxii:some_password@localhost/taxiipersist
create_tables: yes
auth_api:
class: opentaxii.auth.sqldb.SQLDatabaseAPI
parameters:
db_connection: mysql://taxii:some_password@localhost/taxiiauth
create_tables: yes
secret: ILoveTheSecretStringIsIsGreatButNeedsToBeChangedFrienderino
logging:
opentaxii: info
root: info
hooks: misp_taxii_hooks.hooks
# Sample configuration for misp_taxii_server
zmq:
host: localhost
port: 50000
taxii:
auth:
username: root
password: root
misp:
url: "http://ec2-52-42-201-6.us-west-2.compute.amazonaws.com"
api: Vjy0ra7wO6w6si7hbjxX52nARfVpaAO6Tm6lxeSm