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
4700d866
Commit
4700d866
authored
Jul 11, 2016
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quick changes
parent
362378ac
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
18 deletions
+7
-18
.travis.yml
.travis.yml
+1
-1
browser_tests.sh
ci/browser_tests.sh
+6
-17
No files found.
.travis.yml
View file @
4700d866
...
@@ -3,7 +3,7 @@ node_js:
...
@@ -3,7 +3,7 @@ node_js:
-
stable
-
stable
script
:
script
:
-
npm run lint && npm run test && npm run build
-
npm run lint && npm run test && npm run build
-
bash
ci/browser_tests.sh
-
./
ci/browser_tests.sh
deploy
:
deploy
:
provider
:
script
provider
:
script
script
:
ci/deploy_from_travis.sh
script
:
ci/deploy_from_travis.sh
...
...
ci/browser_tests.sh
100644 → 100755
View file @
4700d866
#!/
bin/
bash
#!/
usr/bin/env
bash
SAUCECONNECT_URL
=
"http://saucelabs.com/downloads/sc-4.3.16-linux.tar.gz"
SAUCECONNECT_URL
=
"http
s
://saucelabs.com/downloads/sc-4.3.16-linux.tar.gz"
SAUCECONNECT_USERNAME
=
"chriseth"
SAUCECONNECT_USERNAME
=
"chriseth"
SAUCECONNECT_ACCESSKEY
=
"b781828a-9e9c-43d8-89d4-2fbb879595ca"
SAUCECONNECT_ACCESSKEY
=
"b781828a-9e9c-43d8-89d4-2fbb879595ca"
SAUCECONNECT_JOBIDENTIFIER
=
"browsersolidity_tests_
${
TRAVIS_JOB_NUMBER
}
"
SAUCECONNECT_JOBIDENTIFIER
=
"browsersolidity_tests_
${
TRAVIS_JOB_NUMBER
}
"
...
@@ -18,21 +18,10 @@ while [ ! -f $SAUCECONNECT_READYFILE ]; do
...
@@ -18,21 +18,10 @@ while [ ! -f $SAUCECONNECT_READYFILE ]; do
sleep
.5
sleep
.5
done
done
function
updateTestExitCode
()
{
npm run browser-test-remote-firefox
||
TEST_EXITCODE
=
1
if
[
$?
-eq
1
]
npm run browser-test-remote-chrome
||
TEST_EXITCODE
=
1
then
npm run browser-test-remote-safari
||
TEST_EXITCODE
=
1
TEST_EXITCODE
=
1
npm run browser-test-remote-ie
||
TEST_EXITCODE
=
1
fi
}
npm run browser-test-remote-firefox
updateTestExitCode
npm run browser-test-remote-chrome
updateTestExitCode
npm run browser-test-remote-safari
updateTestExitCode
npm run browser-test-remote-ie
updateTestExitCode
node ci/sauceDisconnect.js
$SAUCECONNECT_USERNAME
$SAUCECONNECT_ACCESSKEY
$SAUCECONNECT_JOBIDENTIFIER
node ci/sauceDisconnect.js
$SAUCECONNECT_USERNAME
$SAUCECONNECT_ACCESSKEY
$SAUCECONNECT_JOBIDENTIFIER
...
...
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