Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
7e18f5a5
Commit
7e18f5a5
authored
Oct 28, 2016
by
chriseth
Committed by
GitHub
Oct 28, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #129 from ethereum/saucelabs
Saucelabs improvement
parents
08082e0a
67463a90
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
27 deletions
+10
-27
.travis.yml
.travis.yml
+1
-0
browser_tests.sh
ci/browser_tests.sh
+7
-26
package.json
package.json
+2
-1
No files found.
.travis.yml
View file @
7e18f5a5
...
@@ -10,4 +10,5 @@ deploy:
...
@@ -10,4 +10,5 @@ deploy:
skip_cleanup
:
true
skip_cleanup
:
true
on
:
on
:
branch
:
master
branch
:
master
cache
:
false
ci/browser_tests.sh
View file @
7e18f5a5
#!/usr/bin/env bash
#!/usr/bin/env bash
SAUCECONNECT_URL
=
"https://saucelabs.com/downloads/sc-4.3.16-linux.tar.gz"
set
-e
SC_VERSION
=
"4.4.0"
SAUCECONNECT_URL
=
"https://saucelabs.com/downloads/sc-
$SC_VERSION
-linux.tar.gz"
SAUCECONNECT_USERNAME
=
"yanneth"
SAUCECONNECT_USERNAME
=
"yanneth"
SAUCECONNECT_ACCESSKEY
=
"1f5a4560-b02b-41aa-b52b-f033aad30870"
SAUCECONNECT_ACCESSKEY
=
"1f5a4560-b02b-41aa-b52b-f033aad30870"
SAUCECONNECT_JOBIDENTIFIER
=
"remix_tests_
${
TRAVIS_JOB_NUMBER
}
"
SAUCECONNECT_JOBIDENTIFIER
=
"remix_tests_
${
TRAVIS_JOB_NUMBER
}
"
...
@@ -11,35 +14,13 @@ npm run build
...
@@ -11,35 +14,13 @@ npm run build
npm run serve &
npm run serve &
wget
$SAUCECONNECT_URL
wget
$SAUCECONNECT_URL
tar
-zxvf
sc-
4.3.16
-linux.tar.gz
tar
-zxvf
sc-
"
$SC_VERSION
"
-linux
.tar.gz
./sc-
4.3.16
-linux/bin/sc
-u
$SAUCECONNECT_USERNAME
-k
$SAUCECONNECT_ACCESSKEY
-i
$SAUCECONNECT_JOBIDENTIFIER
--readyfile
$SAUCECONNECT_READYFILE
&
./sc-
"
$SC_VERSION
"
-linux
/bin/sc
-u
$SAUCECONNECT_USERNAME
-k
$SAUCECONNECT_ACCESSKEY
-i
$SAUCECONNECT_JOBIDENTIFIER
--readyfile
$SAUCECONNECT_READYFILE
&
while
[
!
-f
$SAUCECONNECT_READYFILE
]
;
do
while
[
!
-f
$SAUCECONNECT_READYFILE
]
;
do
sleep
.5
sleep
.5
done
done
npm run nightwatch_remote_firefox
npm run nightwatch_remote_parallel
||
TEST_EXITCODE
=
1
if
[
$?
-eq
1
]
then
TEST_EXITCODE
=
1
fi
npm run nightwatch_remote_chrome
if
[
$?
-eq
1
]
then
TEST_EXITCODE
=
1
fi
npm run nightwatch_remote_safari
if
[
$?
-eq
1
]
then
TEST_EXITCODE
=
1
fi
npm run nightwatch_remote_ie
if
[
$?
-eq
1
]
then
TEST_EXITCODE
=
1
fi
node ci/sauceDisconnect.js
$SAUCECONNECT_USERNAME
$SAUCECONNECT_ACCESSKEY
$SAUCECONNECT_JOBIDENTIFIER
node ci/sauceDisconnect.js
$SAUCECONNECT_USERNAME
$SAUCECONNECT_ACCESSKEY
$SAUCECONNECT_JOBIDENTIFIER
...
...
package.json
View file @
7e18f5a5
...
@@ -42,7 +42,8 @@
...
@@ -42,7 +42,8 @@
"nightwatch_remote_firefox"
:
"nightwatch --config nightwatch.js --env default"
,
"nightwatch_remote_firefox"
:
"nightwatch --config nightwatch.js --env default"
,
"nightwatch_remote_chrome"
:
"nightwatch --config nightwatch.js --env chrome"
,
"nightwatch_remote_chrome"
:
"nightwatch --config nightwatch.js --env chrome"
,
"nightwatch_remote_safari"
:
"nightwatch --config nightwatch.js --env safari"
,
"nightwatch_remote_safari"
:
"nightwatch --config nightwatch.js --env safari"
,
"nightwatch_remote_ie"
:
"nightwatch --config nightwatch.js --env ie"
"nightwatch_remote_ie"
:
"nightwatch --config nightwatch.js --env ie"
,
"nightwatch_remote_parallel"
:
"nightwatch --config nightwatch.js --env ie,safari,chrome,default"
},
},
"repository"
:
{
"repository"
:
{
"type"
:
"git"
,
"type"
:
"git"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment