This repository has been archived by the owner on Feb 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): #442 continous integration deployments for master on travi…
…s CI
- Loading branch information
Showing
5 changed files
with
133 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<html> | ||
<head> | ||
<meta charset="utf8"> | ||
</head> | ||
<style> | ||
body { | ||
margin: 0; | ||
background: #f8f8fc; | ||
display: flex; | ||
flex-direction: column; | ||
min-height: 100vh; | ||
justify-content: center; | ||
align-items: center; | ||
font-family: sans-serif; | ||
} | ||
|
||
ul { | ||
list-style: none; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
li { | ||
margin: 0; | ||
} | ||
|
||
a { | ||
animation: fadeInUp 250ms; | ||
display: block; | ||
text-decoration: none; | ||
color: white; | ||
padding: 20px; | ||
background: #0996f8; | ||
border-radius: 5px; | ||
font-size: 20px; | ||
box-shadow: 0 -2px 0 rgba(0,0,0,.05) inset; | ||
border: 1px solid #0675d3; | ||
transition: border 250ms, background 125ms; | ||
position: relative; | ||
} | ||
|
||
a:hover { | ||
background: #0675d3; | ||
border-color: #0568ba; | ||
} | ||
|
||
|
||
a:active { | ||
background: #0568ba; | ||
border-color: #1f386e; | ||
} | ||
|
||
/* https://github.com/daneden/animate.css/blob/master/source/fading_entrances/fadeInUp.css */ | ||
|
||
@keyframes fadeInUp { | ||
from { | ||
opacity: 0; | ||
transform: translate3d(0, 100%, 0); | ||
} | ||
|
||
to { | ||
opacity: 1; | ||
transform: none; | ||
} | ||
} | ||
|
||
video { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
margin-bottom: 20px; | ||
} | ||
</style> | ||
<body> | ||
<ul> | ||
<li><a href="/dist/activity-streams-latest.xpi">latest activity streams experiment addon</a></li> | ||
</ul> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/sh | ||
|
||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
if [ -z "$CONTINUOUS_INTEGRATION" ] | ||
then | ||
set -x # sets bash debugging mode | ||
echo "setting up development virtualenv" | ||
export CFLAGS='-std=c99' | ||
fi | ||
|
||
echo "\nTRAVIS_BRANCH=$TRAVIS_BRANCH TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST" | ||
|
||
if [ -n "$TRAVIS_BRANCH" ] && [ -n "$TRAVIS_PULL_REQUEST" ] && [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ] | ||
then | ||
echo "deploying" | ||
fab deploy:dev_deploy=True || exit 1 | ||
else | ||
echo "skipping upload" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters