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
7be40bff
Unverified
Commit
7be40bff
authored
Feb 15, 2018
by
yann300
Committed by
GitHub
Feb 15, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1089 from ethereum/travisCircle
build Travis & Circle
parents
6433467e
d8710f86
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
10 deletions
+16
-10
.travis.yml
.travis.yml
+4
-0
browser_tests.sh
ci/browser_tests.sh
+3
-1
nightwatch.js
nightwatch.js
+9
-9
No files found.
.travis.yml
View file @
7be40bff
language
:
node_js
language
:
node_js
node_js
:
node_js
:
-
"
7"
-
"
7"
branches
:
only
:
-
master
-
remix_live
script
:
script
:
-
npm run lint && npm run test && npm run downloadsolc && npm run make-mock-compiler && npm run setupremix && npm run build
-
npm run lint && npm run test && npm run downloadsolc && npm run make-mock-compiler && npm run setupremix && npm run build
-
./ci/browser_tests.sh
-
./ci/browser_tests.sh
...
...
ci/browser_tests.sh
View file @
7be40bff
...
@@ -15,7 +15,9 @@ SC_VERSION="4.4.0"
...
@@ -15,7 +15,9 @@ SC_VERSION="4.4.0"
SAUCECONNECT_URL
=
"https://saucelabs.com/downloads/sc-
$SC_VERSION
-linux.tar.gz"
SAUCECONNECT_URL
=
"https://saucelabs.com/downloads/sc-
$SC_VERSION
-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_
${
CIRCLE_BUILD_NUM
}
"
BUILD_ID
=
${
CIRCLE_BUILD_NUM
:-${
TRAVIS_JOB_NUMBER
}}
echo
"
$BUILD_ID
"
SAUCECONNECT_JOBIDENTIFIER
=
"browsersolidity_tests_
${
BUILD_ID
}
"
SAUCECONNECT_READYFILE
=
"sc.ready"
SAUCECONNECT_READYFILE
=
"sc.ready"
TEST_EXITCODE
=
0
TEST_EXITCODE
=
0
...
...
nightwatch.js
View file @
7be40bff
'use strict'
'use strict'
var
CIRCLE_BUILD_NUM
=
process
.
env
.
CIRCLE_BUILD_NUM
var
buildId
=
process
.
env
.
CIRCLE_BUILD_NUM
||
process
.
env
.
TRAVIS_JOB_NUMBER
module
.
exports
=
{
module
.
exports
=
{
'src_folders'
:
[
'test-browser/tests'
],
'src_folders'
:
[
'test-browser/tests'
],
...
@@ -31,8 +31,8 @@ module.exports = {
...
@@ -31,8 +31,8 @@ module.exports = {
'browserName'
:
'firefox'
,
'browserName'
:
'firefox'
,
'javascriptEnabled'
:
true
,
'javascriptEnabled'
:
true
,
'acceptSslCerts'
:
true
,
'acceptSslCerts'
:
true
,
'build'
:
'build-'
+
CIRCLE_BUILD_NUM
,
'build'
:
'build-'
+
buildId
,
'tunnel-identifier'
:
'browsersolidity_tests_'
+
CIRCLE_BUILD_NUM
'tunnel-identifier'
:
'browsersolidity_tests_'
+
buildId
}
}
},
},
...
@@ -41,8 +41,8 @@ module.exports = {
...
@@ -41,8 +41,8 @@ module.exports = {
'browserName'
:
'chrome'
,
'browserName'
:
'chrome'
,
'javascriptEnabled'
:
true
,
'javascriptEnabled'
:
true
,
'acceptSslCerts'
:
true
,
'acceptSslCerts'
:
true
,
'build'
:
'build-'
+
CIRCLE_BUILD_NUM
,
'build'
:
'build-'
+
buildId
,
'tunnel-identifier'
:
'browsersolidity_tests_'
+
CIRCLE_BUILD_NUM
,
'tunnel-identifier'
:
'browsersolidity_tests_'
+
buildId
,
'chromeOptions'
:
{
'chromeOptions'
:
{
'args'
:
[
'window-size=2560,1440'
,
'start-fullscreen'
]
'args'
:
[
'window-size=2560,1440'
,
'start-fullscreen'
]
}
}
...
@@ -56,8 +56,8 @@ module.exports = {
...
@@ -56,8 +56,8 @@ module.exports = {
'platform'
:
'OS X 10.11'
,
'platform'
:
'OS X 10.11'
,
'version'
:
'10.0'
,
'version'
:
'10.0'
,
'acceptSslCerts'
:
true
,
'acceptSslCerts'
:
true
,
'build'
:
'build-'
+
CIRCLE_BUILD_NUM
,
'build'
:
'build-'
+
buildId
,
'tunnel-identifier'
:
'browsersolidity_tests_'
+
CIRCLE_BUILD_NUM
'tunnel-identifier'
:
'browsersolidity_tests_'
+
buildId
}
}
},
},
...
@@ -68,8 +68,8 @@ module.exports = {
...
@@ -68,8 +68,8 @@ module.exports = {
'platform'
:
'Windows 10'
,
'platform'
:
'Windows 10'
,
'acceptSslCerts'
:
true
,
'acceptSslCerts'
:
true
,
'version'
:
'11.103'
,
'version'
:
'11.103'
,
'build'
:
'build-'
+
CIRCLE_BUILD_NUM
,
'build'
:
'build-'
+
buildId
,
'tunnel-identifier'
:
'browsersolidity_tests_'
+
CIRCLE_BUILD_NUM
'tunnel-identifier'
:
'browsersolidity_tests_'
+
buildId
}
}
},
},
...
...
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