Permalink
Browse files

TST: travis: change owner of /opt/intelmq ot user

  • Loading branch information...
wagner-certat committed Aug 14, 2018
1 parent f9400e0 commit eb6bbfdfc4039685f04e74b17048b67aa12e1c1c
Showing with 5 additions and 1 deletion.
  1. +1 −0 .travis.yml
  2. +1 −0 CHANGELOG.md
  3. +0 −1 intelmq/bots/collectors/rsync/collector_rsync.py
  4. +3 −0 setup.py
View
@@ -25,6 +25,7 @@ install:
- if [[ -v requirements ]]; then sudo sed -i '/^Defaults\tsecure_path.*$/ d' /etc/sudoers; fi
- if [[ -v requirements ]]; then sudo pip install .; fi
- if [[ -v requirements ]]; then sudo cp /opt/intelmq/etc/examples/* /opt/intelmq/etc/; fi
- if [[ -v requirements ]]; then sudo chown -R $USER /opt/intelmq/; fi
before_script:
- if [[ $requirements == true ]] ; then psql -c "CREATE USER intelmq WITH SUPERUSER" -U postgres; fi
- if [[ $requirements == true ]] ; then psql -c "CREATE DATABASE intelmq" -U intelmq template1; fi
View
@@ -32,6 +32,7 @@ CHANGELOG
### Packaging
### Tests
- Travis: Change the ownership of `/opt/intelmq` to the current user.
### Tools
@@ -24,4 +24,3 @@ def process(self):
BOT = RsyncCollectorBot
View
@@ -36,6 +36,9 @@
('/opt/intelmq/var/lib/bots/file-output/',
[],
),
('/opt/intelmq/var/lib/bots/rsync_collector',
[],
),
]
exec(open(os.path.join(os.path.dirname(__file__),

0 comments on commit eb6bbfd

Please sign in to comment.