Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdb4576f

Browse files
committed
Merge pull requestgithub#938 from github/update-travis-config
Update Travis configuration
2 parents594efae +c7201de commitdb4576f

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

‎.travis.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
language:ruby
22
rvm:
33
-2.2.3
4-
before_script:
5-
-script/bootstrap
6-
-sh -e /etc/init.d/xvfb start
7-
cache:bundler
4+
cache:
5+
directories:
6+
-vendor/bundle
7+
-node_modules
88
sudo:false
99
git:
1010
depth:10
11+
script:
12+
-npm install
13+
-script/cibuild

‎script/cibuild

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ export RBENV_VERSION="2.2.3"
2121
export RUBYLIB=
2222
export RUBYOPT=
2323

24+
export CI="true"
25+
2426
if [-d /usr/local/share/nodenv ];then
2527
export NODENV_ROOT=/usr/local/share/nodenv
2628
export PATH=/usr/local/share/nodenv/bin:/usr/local/share/nodenv/shims:$PATH

‎script/test

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ export RACK_ROOT=$(cd "$(dirname $0)"/.. && pwd)
1313

1414
export RAILS_ENV="test" RACK_ENV="test"
1515

16-
script/bootstrap
16+
if [-z"$TRAVIS" ];then
17+
script/bootstrap
18+
fi
1719

1820
echo"===> Running tests..."
1921

20-
if [-n"$JANKY_ID" ];then
22+
if [-n"$CI" ];then
2123
xvfb-run -a bundleexec raketest
2224
else
2325
bundleexec raketest

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp