Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
d0a5536a
Commit
d0a5536a
authored
Dec 05, 2015
by
Adam Barth
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #768 from abarth/continuous_docs
Update Flutter API docs continuously
parents
5bb598ad
6ca057e5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
setup.sh
travis/setup.sh
+12
-1
test.sh
travis/test.sh
+11
-0
No files found.
travis/setup.sh
View file @
d0a5536a
#!/bin/bash
#!/bin/bash
set
-ex
set
-e
if
[
$TRAVIS_PULL_REQUEST
=
"false"
]
;
then
echo
$KEY_FILE
|
base64
--decode
>
gcloud_key_file.json
fi
set
-x
dart dev/update_packages.dart
dart dev/update_packages.dart
(
cd
packages/unit
;
../../bin/flutter cache populate
)
(
cd
packages/unit
;
../../bin/flutter cache populate
)
if
[
$TRAVIS_PULL_REQUEST
=
"false"
]
;
then
export
CLOUDSDK_CORE_DISABLE_PROMPTS
=
1
curl https://sdk.cloud.google.com | bash
fi
travis/test.sh
View file @
d0a5536a
...
@@ -14,3 +14,14 @@ set -ex
...
@@ -14,3 +14,14 @@ set -ex
(
cd
packages/newton
;
pub run
test
-j1
)
(
cd
packages/newton
;
pub run
test
-j1
)
# (cd packages/playfair; ) # No tests to run.
# (cd packages/playfair; ) # No tests to run.
# (cd packages/updater; ) # No tests to run.
# (cd packages/updater; ) # No tests to run.
if
[
$TRAVIS_PULL_REQUEST
=
"false"
]
;
then
if
[
$TRAVIS_BRANCH
=
"master"
]
;
then
(
cd
packages/flutter
;
dartdoc
)
GSUTIL
=
$HOME
/google-cloud-sdk/bin/gsutil
GCLOUD
=
$HOME
/google-cloud-sdk/bin/gcloud
$GCLOUD
auth activate-service-account
--key-file
gcloud_key_file.json
$GSUTIL
-m
rsync
-r
-d
packages/flutter/doc/api gs://docs.domokit.org/flutter
fi
fi
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