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
f95beccb
Commit
f95beccb
authored
8 years ago
by
Gabriel Engel
Browse files
Options
Downloads
Patches
Plain Diff
use meteor npm on travis
parent
1d2ff9f1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+7
-7
7 additions, 7 deletions
.travis.yml
with
7 additions
and
7 deletions
.travis.yml
+
7
−
7
View file @
f95beccb
...
...
@@ -47,25 +47,25 @@ before_script:
echo " replSetName: \"rs0\"" | sudo tee -a /etc/mongod.conf
-
sudo service mongod restart
-
mkdir /tmp/build
-
travis_retry npm install
-
travis_retry
meteor
npm install
-
|-
mongo --eval 'rs.initiate({_id:"rs0", members: [{"_id":1, "host":"localhost:27017"}]})'
-
npm run lint
-
npm run stylelint
-
meteor
npm run lint
-
meteor
npm run stylelint
-
travis_retry meteor build --headless /tmp/build
-
mkdir /tmp/build-test
-
tar -xf /tmp/build/Rocket.Chat.tar.gz -C /tmp/build-test/
-
cd /tmp/build-test/bundle/programs/server
-
npm install -g node-gyp node-pre-gyp
-
npm install
-
meteor
npm install -g node-gyp node-pre-gyp
-
meteor
npm install
-
cd -
-
mongo --eval 'rs.status()'
-
mongo meteor --eval 'db.getCollectionNames()'
script
:
-
travis_retry npm test
-
travis_retry
meteor
npm test
-
mongo meteor --eval 'db.dropDatabase()'
-
unset MONGO_OPLOG_URL
-
travis_retry npm test
-
travis_retry
meteor
npm test
before_deploy
:
-
source ".travis/setartname.sh"
-
source ".travis/setdeploydir.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