8000 MISP/.travis.yml at feature/taxii2 · fossabot/MISP · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":".github","path":".github","contentType":"directory"},{"name":"INSTALL","path":"INSTALL","contentType":"directory"},{"name":"PyMISP","path":"PyMISP","contentType":"submodule","submoduleUrl":"/MISP/PyMISP/tree/9f453e98facfe4335fe64f14345cc3fe67f3dd30","submoduleDisplayName":"PyMISP @ 9f453e9"},{"name":"app","path":"app","contentType":"directory"},{"name":"build","path":"build","contentType":"directory"},{"name":"cti-python-stix2","path":"cti-python-stix2","contentType":"submodule","submoduleUrl":"/oasis-open/cti-python-stix2/tree/ef6dade6f6773edd14aa16a2e4566e50bf74cbb4","submoduleDisplayName":"cti-python-stix2 @ ef6dade"},{"name":"format","path":"format","contentType":"directory"},{"name":"misp-vagrant","path":"misp-vagrant","contentType":"submodule","submoduleUrl":"/MISP/misp-vagrant/tree/8622be9f3074ead2e315803aac94eec6f16461b5","submoduleDisplayName":"misp-vagrant @ 8622be9"},{"name":"tests","path":"tests","contentType":"directory"},{"name":"tools","path":"tools","contentType":"directory"},{"name":"travis","path":"travis","contentType":"directory"},{"name":".coveragerc","path":".coveragerc","contentType":"file"},{"name":".gitchangelog.rc","path":".gitchangelog.rc","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".gitmodules","path":".gitmodules","contentType":"file"},{"name":".travis.yml","path":".travis.yml","contentType":"file"},{"name":"AUTHORS","path":"AUTHORS","contentType":"file"},{"name":"CONTRIBUTING.md","path":"CONTRIBUTING.md","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"VERSION.json","path":"VERSION.json","contentType":"file"},{"name":"code_of_conduct.md","path":"code_of_conduct.md","contentType":"file"}],"totalCount":22}},"fileTreeProcessingTime":18.323938000000002,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":140067578,"defaultBranch":"2.4","name":"MISP","ownerLogin":"fossabot","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2018-07-07T08:41:49.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/29791463?v=4","public":true,"private":false,"isOrgOwned":false},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"feature/taxii2","listCacheKey":"v0:1617627823.855065","canEdit":false,"refType":"branch","currentOid":"76ae4958b26a5d4873653ef9bf681429e69f12bf"},"path":".travis.yml","currentUser":null,"blob":{"rawLines":["language: php","","php:"," - 5.6"," - 7.0"," - 7.1"," - nightly","","services:"," - redis","","sudo: required","dist: trusty","group: edge","","addons:"," mariadb:"," - '10.0'"," hosts:"," - misp.local"," - localhost"," apt:"," packages:"," - python3-dev"," - python3-pip"," - libxml2-dev"," - zlib1g-dev"," - apache2"," - curl"," - php5-mysql"," - php5-dev"," - php5-cli"," - libapache2-mod-php5","","","before_install:"," - git config --global user.name \"TravisCI\"","","install:"," - sudo apt-get install python3-pip python3-nose"," - git pull --recurse-submodules \u0026\u0026 git submodule update"," - pip3 install --user pip -U"," - pip3 install --user pyzmq"," - pip3 install --user coveralls"," - pip3 install --user codecov"," - pip3 install --user git+https://github.com/CybOXProject/python-cybox.git@v2.1.0.12#egg=Package"," - pip3 install --user git+https://github.com/stixproject/python-stix.git@v1.2.0.0#egg=Package"," - pip3 install --user git+https://github.com/MISP/PyMISP.git#egg=Package"," - phpenv rehash"," - pushd app"," - composer install"," - popd"," - phpenv config-add travis/myphpconfig.ini"," - cp -fa INSTALL/setup/config.php app/Plugin/CakeResque/Config/config.php"," # Set perms"," - sudo chown -R www-data:www-data `pwd`"," - sudo chmod -R 755 `pwd`"," - sudo chmod -R g+ws `pwd`/app/tmp"," - sudo chmod -R g+ws `pwd`/app/tmp/cache"," - sudo chmod -R g+ws `pwd`/app/tmp/cache/persistent"," - sudo chmod -R g+ws `pwd`/app/tmp/cache/models"," - sudo chmod -R g+ws `pwd`/app/tmp/logs"," - sudo chmod -R g+ws `pwd`/app/files"," - sudo chmod -R g+ws `pwd`/app/files/scripts/tmp"," # Resque perms"," - sudo chown -R www-data:www-data `pwd`/app/Plugin/CakeResque/tmp"," - sudo chmod -R 755 `pwd`/app/Plugin/CakeResque/tmp"," # install MySQL"," - sudo chmod -R 777 `pwd`/INSTALL"," - mysql -u root -e 'create database misp;'"," - mysql -u root -e \"grant usage on *.* to misp@localhost identified by 'blah'\";"," - mysql -u root -e \"grant all privileges on misp.* to misp@localhost;\""," - mysql -u misp -pblah misp \u003c INSTALL/MYSQL.sql"," # configure apache virtual hosts"," - sudo chmod -R 777 `pwd`/build"," - sudo cp -f build/travis-ci-apache /etc/apache2/sites-available/misp.local.conf"," - sudo sed -e \"s?%TRAVIS_BUILD_DIR%?$(pwd)?g\" --in-place /etc/apache2/sites-available/misp.local.conf"," - sudo a2dissite 000-default"," - sudo a2ensite misp.local.conf"," - sudo a2enmod rewrite"," - sudo service apache2 restart"," # MISP configuration"," - sudo chmod -R 777 `pwd`/travis"," - sudo cp travis/bootstrap.php app/Config/bootstrap.php"," - sudo cp travis/database.php app/Config/database.php"," - sudo cp travis/core.php app/Config/core.php"," - sudo cp travis/config.php app/Config/config.php"," # Ensure the perms"," - sudo chown -R www-data:www-data `pwd`/app/Config"," - sudo chmod -R 750 `pwd`/app/Config"," # GPG setup"," - sudo mkdir `pwd`/.gnupg"," # /!\\ VERY INSECURE BUT FASTER ON THE BUILD ENV OF TRAVIS"," - sudo cp -a /dev/urandom /dev/random"," - sudo gpg --homedir `pwd`/.gnupg --gen-key --batch `pwd`/travis/gpg"," - sudo chown www-data:www-data `pwd`/.gnupg"," - sudo chmod 700 `pwd`/.gnupg"," # Get authkey"," - sudo usermod -a -G www-data $USER"," - sudo -E su $USER -c 'app/Console/cake userInit -q | sudo tee ./key.txt'"," - sudo chmod 777 ./key.txt"," - sudo chmod -R 777 ./tests"," - sudo chown -R www-data:www-data `pwd`"," - sudo chmod +x /home/travis/build"," - sudo chmod +x /home/travis"," - sudo chmod +x /home","","before_script:"," - curl http://misp.local"," - AUTH=`cat key.txt`"," - sudo chmod -R 777 PyMISP"," - pushd PyMISP"," - echo 'url = \"http://misp.local\"' \u003e\u003e tests/keys.py"," - echo 'key = \"'${AUTH}'\"' \u003e\u003e tests/keys.py"," - cat tests/keys.py"," - popd","","script:"," - pushd tests"," - ./curl_tests.sh $AUTH"," - popd"," - pushd PyMISP"," - pip3 install --user -U nose"," - pip3 install --user coveralls"," - pip3 install --user codecov"," - pip3 install --user requests-mock"," - pip3 install --user ."," - nosetests --with-coverage --cover-package=pymisp tests/test_*.py"," - python3 tests/test.py"," - popd"," - cp PyMISP/tests/keys.py PyMISP/examples/events/"," - pushd PyMISP/examples/events/"," - python3 ./create_massive_dummy_events.py -l 5 -a 30"," - popd","","after_failure:"," - curl http://misp.local"," - cat /etc/apache2/sites-available/misp.local.conf"," - sudo ls -l /var/log/apache2"," - sudo cat `pwd`/app/tmp/logs/error.log"," - sudo cat `pwd`/app/tmp/logs/debug.log"," - sudo cat /var/log/apache2/error.log"," - sudo cat /var/log/apache2/misp.local_error.log"," - sudo cat /var/log/apache2/misp.local_access.log"," - pwd","","notifications:"," webhooks:"," urls:"," - https://webhooks.gitter.im/e/05e30284086a8e948d31"," on_success: change # options: [always|never|change] default: always"," on_failure: always # options: [always|never|change] default: always"," on_start: never # options: [always|never|change] default: always","","after_success:"," - coveralls"," - coverage report"," - coverage xml"," - codecov"],"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/fossabot/MISP/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":".travis.yml","displayUrl":"https://github.com/fossabot/MISP/blob/feature/taxii2/.travis.yml?raw=true","headerInfo":{"blobSize":"5.06 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"b984e5f","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Ffossabot%2FMISP%2Fblob%2Ffeature%2Ftaxii2%2F.travis.yml","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"159","truncatedSloc":"147"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"YAML","languageID":407,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/fossabot/MISP/blob/feature/taxii2/.travis.yml","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/fossabot/MISP/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/fossabot/MISP/raw/refs/heads/feature/taxii2/.travis.yml","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":null},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/fossabot/MISP/branches":{"post":"BcYAnOnfnxRBuitm2gptlyOJr_R7Z7zTb6X1jT0v51QTZ2lbpZVwo8595aUijPHQQQIcqEAaJoQgGdTSsRX2dw"},"/repos/preferences":{"post":"5eKLPyagSvIfXHRCVlueSC2gkn-EtnwzPoq3pLmz4kKPE0orxE-Ow-cy94IUPPOD-D6P2FRLHAKZpce--J-14g"}}},"title":"MISP/.travis.yml at feature/taxii2 · fossabot/MISP","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-263cab1760dd.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1b17b3e7786a.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true}}}
0