Skip to content

Commit b7b08eb

Browse files
committed
2 parents 3bf22f3 + c0137d7 commit b7b08eb

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.travis.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ cache:
66
directories:
77
- "~/.platformio"
88

9+
if: tag =~ /^\d+(?:\.\d+){2}$/
10+
911
env:
1012
matrix:
1113
- PLATFORMIO_CI_SRC=src/
@@ -34,11 +36,11 @@ addons:
3436
ssh_known_hosts: iot.greggs.org
3537
# Setup ssh to goDaddy with key
3638
before_deploy:
37-
- openssl aes-256-cbc -K $encrypted_c79cb383f093_key -iv $encrypted_c79cb383f093_iv
38-
-in travis-godaddy_rsa.enc -out travis-godaddy_rsa -d
39+
- openssl aes-256-cbc -K $encrypted_29231b0f8d8a_key -iv $encrypted_29231b0f8d8a_iv
40+
-in godaddy-travis_rsa.enc -out godaddy-travis_rsa -d
3941
- eval "$(ssh-agent -s)"
40-
- chmod 600 travis-godaddy_rsa
41-
- ssh-add travis-godaddy_rsa
42+
- chmod 600 godaddy-travis_rsa
43+
- ssh-add godaddy-travis_rsa
4244

4345
# Deploy binaries
4446
deploy:
@@ -48,7 +50,6 @@ deploy:
4850
on:
4951
repo: csgregg/csg-esp8266-rota
5052
all_branches: true
51-
condition: "$TRAVIS_TAG =~ ^[0-9]+\\.[0-9]+\\.[0-9]+$"
5253
api_key:
5354
secure: c19w5t9Nw8B58j9hYx7fKWQ4x79kQjSQffZwodePpqdp2yyS3nVW/z+NZPugSPX0FkahAGDdlSjdGlWgp6QQrtB4yV2w+k9mIjxwk6IF3LxY9z0wpnqiuGHDjEG0n887MhU3quQ9Dq/NqUCWn72aYPFZcNXCIwKELv5L5UI745zE7TnSoKLuGd1Hrhd5S6qOfCBxfMYsrHMMYCRH3sGthL07gUqBAYcwHX2nqqlRW9j9m+ebsdqghVoyQSZLElJzKLomc4VtgvmRrRs5hjjZO00RDARje/DnLxQa2NS6npgJhuaOtMd/tGzU0aruhccbUm75O2oKDnRtU5knwcCY1x1Y/x7jc4s88EL5jDQ34oTPYRH59v350GYkczvREPDQMICKrNySW6VcAj0JTvQDMpGrnXqxzgNz60YbVJbWT0gwFU9tyTVcDj8Nx5FdNKz9OAEI5yN4j7blcXm3u03pKeTCOqTz/Fv4saK54VBcJ4hwiObinNZ4NhvFhy6lmFjwIu7iRsSZO185YD6EhgsDvwKrsMonUC+R6TN1Hw0puBqiJyrebOoxy51SuWADwVeWgrsdOAEpFHcmvWCtN2pL+jOgqMK1dq5hEpGVnAyYe79Y69KiezTdu+/marXq1II8BB1sEyqhmSd+fjLdgrymVhOC3MRpx8h6dPU+1A71i88=
5455
file_glob: true
@@ -62,9 +63,9 @@ deploy:
6263
skip_cleanup: true
6364
script:
6465
# Sync files and folders
65-
- rsync -r --delete-after $TRAVIS_BUILD_DIR/hosted/iot.greggs.org/ [email protected]:public_html
66+
- rsync -r --delete-after --verbose $TRAVIS_BUILD_DIR/hosted/iot.greggs.org/ [email protected]:public_html
6667
- chmod 600 /public_html/tools/*
6768
on:
6869
all_branches: true
69-
condition: "$TRAVIS_TAG =~ ^[0-9]+\\.[0-9]+\\.[0-9]+$"
70+
7071

scripts/FS_pre.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def minify_file(file,url):
6666
print("Minifying: " + str(file))
6767
data = {'input': open(file, 'rb').read()}
6868
response = requests.post(url, data=data)
69-
time.sleep(1)
69+
# time.sleep(1)
7070
minified = response.content
7171
with open(file, 'wb') as f_out:
7272
f_out.write(minified)

0 commit comments

Comments
 (0)