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
08a8db02
Commit
08a8db02
authored
Oct 04, 2016
by
chriseth
Committed by
Alex Beregszaszi
Oct 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify saucelabs script
parent
63706605
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
browser_tests.sh
ci/browser_tests.sh
+9
-9
No files found.
ci/browser_tests.sh
View file @
08a8db02
#!/usr/bin/env bash
SAUCECONNECT_URL
=
"https://saucelabs.com/downloads/sc-
4.3.16
-linux.tar.gz"
SC_VERSION
=
"4.3.16"
SAUCECONNECT_URL
=
"https://saucelabs.com/downloads/sc-
$SC_VERSION
-linux.tar.gz"
SAUCECONNECT_USERNAME
=
"chriseth"
SAUCECONNECT_ACCESSKEY
=
"b781828a-9e9c-43d8-89d4-2fbb879595ca"
SAUCECONNECT_JOBIDENTIFIER
=
"browsersolidity_tests_
${
TRAVIS_JOB_NUMBER
}
"
...
...
@@ -11,10 +11,10 @@ TEST_EXITCODE=0
npm run build
npm run serve &
wget
$SAUCECONNECT_URL
tar
-zxvf
sc-
4.3.16
-linux.tar.gz
./sc-
4.3.16-linux/bin/sc
-u
$SAUCECONNECT_USERNAME
-k
$SAUCECONNECT_ACCESSKEY
-i
$SAUCECONNECT_JOBIDENTIFIER
--readyfile
$SAUCECONNECT_READYFILE
&
while
[
!
-f
$SAUCECONNECT_READYFILE
]
;
do
wget
"
$SAUCECONNECT_URL
"
tar
-zxvf
sc-
"
$SC_VERSION
"
-linux
.tar.gz
./sc-
"
$SC_VERSION
"
-linux
/bin/sc
-u
"
$SAUCECONNECT_USERNAME
"
-k
"
$SAUCECONNECT_ACCESSKEY
"
-i
"
$SAUCECONNECT_JOBIDENTIFIER
"
--readyfile
"
$SAUCECONNECT_READYFILE
"
&
while
[
!
-f
"
$SAUCECONNECT_READYFILE
"
]
;
do
sleep
.5
done
...
...
@@ -23,10 +23,10 @@ npm run browser-test-remote-chrome || TEST_EXITCODE=1
npm run browser-test-remote-safari
||
TEST_EXITCODE
=
1
npm run browser-test-remote-ie
||
TEST_EXITCODE
=
1
node ci/sauceDisconnect.js
$SAUCECONNECT_USERNAME
$SAUCECONNECT_ACCESSKEY
$SAUCECONNECT_JOBIDENTIFIER
node ci/sauceDisconnect.js
"
$SAUCECONNECT_USERNAME
"
"
$SAUCECONNECT_ACCESSKEY
"
"
$SAUCECONNECT_JOBIDENTIFIER
"
echo
$TEST_EXITCODE
if
[
$TEST_EXITCODE
-eq
1
]
echo
"
$TEST_EXITCODE
"
if
[
"
$TEST_EXITCODE
"
-eq
1
]
then
exit
1
fi
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