Skip to content

Commit

Permalink
Add deploykey
Browse files Browse the repository at this point in the history
  • Loading branch information
blavka committed Apr 25, 2017
1 parent 7df65bb commit ef037c9
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 12 deletions.
Binary file added .deploykey.enc
Binary file not shown.
1 change: 1 addition & 0 deletions .deploykey.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDVWFzVGwwIKRM+zRX/tEJzLNxMbhTUuRRjO0ibs8Cix9qqy5rYXBr/3OUBFjgcqyZvjecjxSGSW0zjL8Z2ccbKvmjF35shUijDbPG6ZMWMIOvHvD/NjAn8KnIvNjGA5hWEk8YbV530Z37UiuDbu1qoVuEy4tCss2gwAMkxAeESHBCIQdrHSQawj2uuPoN9TYXgWVpNDdjZr13t8zGluJWN70IH1AsHIHjiTTWXVeuYQKzu2OofJVfJWwqWjeFoiCgUF7o1/nsGrlVdOnxdY95MJGxccb54bu9jgLxT1bxrgrpbS70rE0s5ZjjG8J45NREsImNh0mq/OCvgY8kSRyx
7 changes: 7 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

export VIRTUAL_ENV="$(pwd)/.venv"
export PATH="$VIRTUAL_ENV/bin:$PATH"
unset PYTHONHOME

hash -r 2>&1 >/dev/null
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
sudo: false
language: generic
script:
- "/bin/true"
language: python
python: 3.4
env:
global:
secure: FbTMWRXO/vKLqSoxOEWd0Cx2IpiBYN7rbS4tcR1nafF9GWCQc1F6qC00foUrYGNd8M6rFOkon1UO+7+GEsDUZvtwCLmzVkHxMo07XMU6DxzvG6rBSnpYuBtCgQ0r7/12YR3Efz8ACU1ihlgGMVxi8ziuCH8kRKFqfH+F6RtiOYj3zeNGFnYxUl+Eu7q07VjOqqATFO6q75l5JmJ/pDQeFpgAkvvcenzaJ3EYueLN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l4/uMlblThiogNLYvw9u6IUkvBww6kxBm4RLsSxEP3EzaIE0HmU/W5cr0Bf9HRe5dXc=
install:
- gem install --no-ri --no-rdoc fpm
- pip3 install --upgrade pip
script:
- "./script/test"
- "./script/build-deb"
deploy:
provider: script
script: script/travis-deploy
Expand Down
3 changes: 3 additions & 0 deletions gateway/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
docopt>=0.6 # deb:python3-docopt>=0.6
paho-mqtt>=1.0 # deb:python3-paho-mqtt>=1.0
pyserial>=2.6 # deb:python3-serial>=2.6
4 changes: 1 addition & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
docopt>=0.6 # deb:python3-docopt>=0.6
paho-mqtt>=1.0 # deb:python3-paho-mqtt>=1.0
pyserial>=2.6 # deb:python3-serial>=2.6
-r gateway/requirements.txt
6 changes: 1 addition & 5 deletions script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@ if [ ! -f "$VENV_DIR/bin/python3" ]; then
"$pybin" -m venv "$VENV_DIR"
fi

export VIRTUAL_ENV="$(pwd)/.venv"
export PATH="$VIRTUAL_ENV/bin:$PATH"
unset PYTHONHOME

hash -r 2>&1 >/dev/null
. ./.envrc

einfo 'Installing Python modules...'
python3 -m pip install -r requirements-dev.txt 2>&1 \
Expand Down

0 comments on commit ef037c9

Please sign in to comment.