Skip to content

Commit ed4a6a3

Browse files
committed
minor
1 parent 49b6952 commit ed4a6a3

3 files changed

Lines changed: 17 additions & 6 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ script:
2424

2525
env:
2626
global: # not a build matrix, but variables for every build
27-
- TRAVIS_DEBUG=1
27+
#- TRAVIS_DEBUG=1
2828
- NODE_ENV=test
2929
- E2E_BROWSER=firefox
3030
# id_rsa (by travis_key.sh)

scripts/travis/install.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ if [ "$TRAVIS_SECURE_ENV_VARS" = "true" ]; then
5151
# ssh-add -K ~/.ssh/travis_key
5252
# 2) ssh
5353
# ssh -p 2222 [email protected]
54+
# OR just add ssh_config to ~/.ssh/config and ssh travis
5455
if [[ ! -z $TRAVIS_DEBUG ]]; then
5556
# allow to SSH to travis via stage.javascript.ru:2222 port forwarding
5657
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
@@ -78,11 +79,11 @@ fi
7879

7980
# ===== Latest npm ==========
8081
# need latest npm (less bugs)
81-
#npm i -g npm
82-
#npm up -g
83-
#npm i -g mocha
84-
#npm i -g bunyan
85-
#npm i -g gulp
82+
# install global packages 1-by-1 for less bugs too
83+
npm i -g npm
84+
npm i -g mocha
85+
npm i -g bunyan
86+
npm i -g gulp
8687

8788

8889
# Turn off unneeded services to free some memory

scripts/travis/ssh_config

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
Host travis
3+
HostName stage.javascript.ru
4+
IdentityFile ~/.ssh/travis_key
5+
# Will be forwarded to 22 by ssh -R
6+
Port 2222
7+
User travis
8+
# Don't save host to file (VM will be changed on next login)
9+
StrictHostKeyChecking no
10+
UserKnownHostsFile=/dev/null

0 commit comments

Comments
 (0)