diff --git a/.gitignore b/.gitignore index d4c2c3f..c9f7083 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,8 @@ -# Created by https://www.gitignore.io/api/intellij -# Edit at https://www.gitignore.io/?templates=intellij +# Created by https://www.gitignore.io/api/pycharm+all +# Edit at https://www.gitignore.io/?templates=pycharm+all -### Intellij ### +### PyCharm+all ### # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 @@ -72,22 +72,20 @@ fabric.properties # Android studio 3.1+ serialized cache file .idea/caches/build_file_checksums.ser -### Intellij Patch ### -# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 +### PyCharm+all Patch ### +# Ignores the whole .idea folder and all .iml files +# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360 -# *.iml -# modules.xml -# .idea/misc.xml -# *.ipr +.idea/ + +# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023 + +*.iml +modules.xml +.idea/misc.xml +*.ipr # Sonarlint plugin -.idea/**/sonarlint/ +.idea/sonarlint -# SonarQube Plugin -.idea/**/sonarIssues.xml - -# Markdown Navigator plugin -.idea/**/markdown-navigator.xml -.idea/**/markdown-navigator/ - -# End of https://www.gitignore.io/api/intellij \ No newline at end of file +# End of https://www.gitignore.io/api/pycharm+all diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5f3b4d4 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,23 @@ +language: bash + +services: + - docker + +before_install: + - sudo pip install --upgrade pip + - pip install --user awscli + - export PATH=$PATH:$HOME/.local/bin + - echo $DOCKER_PASSWORD | docker login -u "$DOCKER_USERNAME" --password-stdin + +install: + docker build --no-cache -t sartography/cr-connect-db:latest . || exit 1; + docker push sartography/cr-connect-db:latest || exit 1; + aws sqs send-message --queue-url 'https://queue.amazonaws.com/474683445819/dcos-refresh' --message-body 'crconnect/db' || exit 1; + +notifications: + email: + on_success: change + on_failure: always + recipients: + - dan@sartography.com +