Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
81c86bf0
Unverified
Commit
81c86bf0
authored
8 years ago
by
Rodrigo Nascimento
Browse files
Options
Downloads
Patches
Plain Diff
Try use the travis build to run tests
parent
fc24b453
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.scripts/start.js
+3
-3
3 additions, 3 deletions
.scripts/start.js
.travis.yml
+5
-1
5 additions, 1 deletion
.travis.yml
with
8 additions
and
4 deletions
.scripts/start.js
+
3
−
3
View file @
81c86bf0
...
...
@@ -9,8 +9,8 @@ var baseDir = path.resolve(__dirname, '..'),
srcDir
=
path
.
resolve
(
baseDir
);
var
appOptions
=
{
port
:
3000
,
env
:
{
PORT
:
3000
,
ROOT_URL
:
'
http://localhost:3000
'
}
};
...
...
@@ -55,7 +55,7 @@ function startProcess(opts, callback) {
function
startApp
(
callback
)
{
startProcess
({
name
:
'
Meteor App
'
,
command
:
'
meteor --port
'
+
appOptions
.
port
,
command
:
'
node /tmp/build-test/bundle/main.js
'
,
waitForMessage
:
appOptions
.
waitForMessage
,
options
:
{
cwd
:
srcDir
,
...
...
@@ -85,4 +85,4 @@ function chimpNoMirror() {
});
}
chimpNoMirror
();
\ No newline at end of file
chimpNoMirror
();
This diff is collapsed.
Click to expand it.
.travis.yml
+
5
−
1
View file @
81c86bf0
...
...
@@ -45,10 +45,14 @@ before_script:
-
mkdir /tmp/build
-
travis_retry npm install
-
npm run lint
-
travis_retry meteor build --headless /tmp/build
-
cp -R /tmp/build /tmp/build-test
-
cd /tmp/build-test/bundle/programs/server
-
npm install
-
cd -
script
:
-
npm test
before_deploy
:
-
travis_retry meteor build --headless /tmp/build
-
source ".travis/setartname.sh"
-
source ".travis/setdeploydir.sh"
-
"
.travis/setupsig.sh"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment