We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 778b467 commit 2464a27Copy full SHA for 2464a27
.travis.yml
@@ -19,6 +19,7 @@ script:
19
- mix deps.get
20
- mix test
21
- mix coveralls.travis
22
+ - bash test/prerelease.sh
23
- yarn
24
- yarn run lint
25
- yarn run test
test/prerelease.sh
@@ -4,8 +4,10 @@ PKG=test/tmp/package
4
# build package
5
mix hex.build
6
7
+TAR=$(ls ex_doc-*.tar | head -n 1)
8
+
9
# extract package
-rm -rf $PKG && mkdir -p $PKG/contents && tar xf ex_doc-*.tar -C $PKG && tar xzf $PKG/contents.tar.gz -C $PKG/contents
10
+rm -rf $PKG && mkdir -p $PKG/contents && tar xf $TAR -C $PKG && tar xzf $PKG/contents.tar.gz -C $PKG/contents
11
12
# compile and build docs
13
cd $PKG/contents && MIX_ENV=prod mix do deps.get --only prod, compile, docs
0 commit comments