-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml.disabled
42 lines (41 loc) · 1.89 KB
/
.travis.yml.disabled
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
language: node_js
node_js:
- '8'
cache:
directories:
- node_modules
env:
global:
secure: tkD9nMCCLjjt2KqQzLJjbawETIqMRoLe7hnILDAsurV28F9xqPEYe62K4uoS9KubjvQ/93NkvrZxVyUo+OYPecBSx4KzsN/+o4vYCjhpLdK9POX0T95DDZS9zn0BUEMcU/ruomrm31KgNkTZnOi8VqOdHAp24Di8ug86qiLdOeXalLHA/24ui8WuUTpDc+qbNOJhuOlz7+LGVfqvvYBW4Pwu2uSScjXzdvLUQl9SkOh/W7VyO9COklMszlXGWQm4DYKINlHxu0WgyGe3x7rJU6SAKGOq5Rd9+nEOHZA5Px5jUxShJthq8LLul7+c43TrrPLM7k0rRZ2vYhe/gQADMBtozzTz6qa1uknLIwdDCIo3kxIXot/1qF5XouGUTBUqlPBXt6tz3UKmNEPA6QPuXxUT+6ME84qBQbWb0uDZ72HpDKRuLxu1Q34L8J1IaMzkOm6oYvi6unIH96uc4Hxyy3Gb9cQavjrUQaL1Col5jJXuDZKuPLkBoLyQH/ccmZg5Mv3Zi4R9QCGGfK3w1/4k51bDi8RdJ0jxbCH6sXxbohjfvgDj6FDUS9JFy4rezg/ZId33aOfZdRx8hC4ZdvHByBbJvtIOBK9o1aQvbZAneJrWHj/0ivjS4id9qMDo7yTmAepNnOnCWcxiQAcbZcfC2odrFqZ0M11pnFW0GGaCjXk=
before_install:
- |
declare -r SSH_FILE="$(mktemp -u $HOME/.ssh/XXXXX)"
openssl aes-256-cbc \
-K $encrypted_ae46258a4f3b_key \
-iv $encrypted_ae46258a4f3b_iv \
-in ".travis/qx-contrib-deploy.enc" \
-out "$SSH_FILE" -d
# Enable SSH authentication
chmod 600 "$SSH_FILE" \
&& printf "%s\n" \
"Host github.com" \
" IdentityFile $SSH_FILE" \
" LogLevel ERROR" >> ~/.ssh/config
- git config --global user.name "Travis CI deploy"
- git config --global user.email "[email protected]"
- git config --global push.default simple
# install components
- git clone [email protected]:qooxdoo/qx-contrib.git
- git clone [email protected]:qooxdoo/qooxdoo-compiler
- cd qooxdoo-compiler && npm install && cd ..
script:
# create data file and commit it to this repo
- cd qx-contrib
- "../qooxdoo-compiler/qx config set github.token $TOKEN"
- "../qooxdoo-compiler/qx package update --verbose --search --all-versions --file cache.json"
- |
if ! git diff --quiet --exit-code; then
git add cache.json && git commit -m "Update catalog" && git push && echo "Updated contrib cache."
else
echo "No changes."
fi