fix: don't try to install submodules

pull/83/head
Hannah Ward 2019-02-12 17:17:28 +00:00
parent 8c0db22b0f
commit 629566b3eb
No known key found for this signature in database
GPG Key ID: 6F3BAD60DE190290
1 changed files with 0 additions and 8 deletions

View File

@ -17,7 +17,6 @@ before_install:
- sudo apt-get install mysql-server-5.6 mysql-client-core-5.6 mysql-client-5.6 libxml2-dev libxslt1-dev zlib1g-dev
- pip install -r REQUIREMENTS.txt
- python setup.py install
- cd ..
- docker pull floatingghost/misp-testable:v2.4.102
- docker run -d -p 80:80 floatingghost/misp-testable:v2.4.102
@ -25,17 +24,10 @@ install:
# Check the config is ok
- echo $OPENTAXII_CONFIG
- mysql --version
# Set up the deps
- git submodule init
- git submodule update
#Configure hooks
- <misp_taxii_hooks/hooks.py sed 's@\[URL\]@'"$URL"'@; s@\[APIKEY\]@'"$APIKEY"'@' > misp_taxii_hooks/hooks.py
- head -n20 misp_taxii_hooks/hooks.py
- python setup.py install
# Install OpenTAXII
- cd OpenTAXII
- python setup.py install
- cd ..
# Create databases
- mysql -u root -e 'create database taxiiauth; create database taxiipersist;'
- mysql -u root -e "grant all on taxiiauth.* to 'taxii'@'%' identified by 'some_password';"