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
a5e23959
Commit
a5e23959
authored
9 years ago
by
S. Li
Browse files
Options
Downloads
Patches
Plain Diff
declutter travis.yml II
parent
517bd04b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.sandstorm/preprcbuild.sh
+19
-0
19 additions, 0 deletions
.sandstorm/preprcbuild.sh
.travis.yml
+2
-29
2 additions, 29 deletions
.travis.yml
with
21 additions
and
29 deletions
.sandstorm/preprcbuild.sh
0 → 100755
+
19
−
0
View file @
a5e23959
#!/bin/bash
set
-euo
pipefail
export
SANDSTORM_VERSION
=
$(
curl
-f
"https://install.sandstorm.io/dev?from=0&type=install"
)
cd
/tmp
curl https://dl.sandstorm.io/sandstorm-
$SANDSTORM_VERSION
.tar.xz |
tar
-xJf
-
export
PATH
=
$PATH
:
${
PWD
}
/sandstorm-
$SANDSTORM_VERSION
/bin
sudo mkdir
-p
/home/vagrant
sudo chown
-R
travis /home/vagrant
sudo mkdir
-p
/opt
sudo chown
-R
travis /opt
cd
/opt
curl curl https://dl.sandstorm.io/meteor-spk-0.1.8.tar.xz |
tar
-xJf
-
ln
-s
meteor-spk-0.1.8 meteor-spk
cp
-a
/bin/bash /opt/meteor-spk/meteor-spk.deps/bin/
cp
-a
/lib/x86_64-linux-gnu/libncurses.so.
*
/opt/meteor-spk/meteor-spk.deps/lib/x86_64-linux-gnu/
cp
-a
/lib/x86_64-linux-gnu/libtinfo.so.
*
/opt/meteor-spk/meteor-spk.deps/lib/x86_64-linux-gnu/
cp
-r
.
/opt/app
This diff is collapsed.
Click to expand it.
.travis.yml
+
2
−
29
View file @
a5e23959
...
@@ -6,41 +6,14 @@ branches:
...
@@ -6,41 +6,14 @@ branches:
-
master
-
master
node_js
:
node_js
:
-
'
0.12'
-
'
0.12'
#addons:
# apt:
# sources:
# - google-chrome
# packages:
# - google-chrome-stable
before_install
:
before_install
:
-
curl https://install.meteor.com | /bin/sh
-
curl https://install.meteor.com | /bin/sh
-
npm install -g npm@'>=2.13.5'
-
npm install -g npm@'>=2.13.5'
-
mkdir -p node_modules
-
mkdir -p node_modules
#- npm install phantomjs
#- npm install velocity-cli
#- export PHANTOMJS_BIN=./node_modules/phantomjs/bin/phantomjs
#- export JASMINE_BROWSER=PhantomJS
#- export DEBUG=1
#- export JASMINE_DEBUG=1
#- export VELOCITY_DEBUG=1
#- export VELOCITY_DEBUG_MIRROR=1
-
export SANDSTORM_VERSION=$(curl -f "https://install.sandstorm.io/dev?from=0&type=install")
-
cd /tmp
-
curl https://dl.sandstorm.io/sandstorm-$SANDSTORM_VERSION.tar.xz | tar -xJf -
-
export PATH=$PATH:${PWD}/sandstorm-$SANDSTORM_VERSION/bin
-
sudo mkdir -p /home/vagrant
-
sudo chown -R travis /home/vagrant
-
sudo mkdir -p /opt
-
sudo chown -R travis /opt
-
cd /opt
-
curl curl https://dl.sandstorm.io/meteor-spk-0.1.8.tar.xz | tar -xJf -
-
ln -s meteor-spk-0.1.8 meteor-spk
-
cp -a /bin/bash /opt/meteor-spk/meteor-spk.deps/bin/
-
cp -a /lib/x86_64-linux-gnu/libncurses.so.* /opt/meteor-spk/meteor-spk.deps/lib/x86_64-linux-gnu/
-
cp -a /lib/x86_64-linux-gnu/libtinfo.so.* /opt/meteor-spk/meteor-spk.deps/lib/x86_64-linux-gnu/
-
cd $TRAVIS_BUILD_DIR
-
cd $TRAVIS_BUILD_DIR
-
mkdir ../build
-
mkdir ../build
-
cp -r . /opt/app
-
cd .sandstorm
-
./preprcbuild.sh
script
:
script
:
-
if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then echo "Building PR $TRAVIS_PULL_REQUEST"; meteor build ../build; exit $?; fi
-
if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then echo "Building PR $TRAVIS_PULL_REQUEST"; meteor build ../build; exit $?; fi
-
export TAG=$(git describe --abbrev=0 --tags)
-
export TAG=$(git describe --abbrev=0 --tags)
...
...
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