Skip to content
This repository was archived by the owner on Mar 11, 2019. It is now read-only.

Commit 3e68bee

Browse files
committed
chore: remove useless things in travis.yml
1 parent de308bf commit 3e68bee

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.travis.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ before_install:
4545
- sudo dpkg -i influxdb.deb
4646
- sudo service influxdb start
4747
- sleep 5; /usr/bin/influx --execute "CREATE USER powerapi WITH PASSWORD 'powerapi' WITH ALL PRIVILEGES"
48-
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3; fi'
49-
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then curl -sSL https://get.rvm.io | bash; fi'
50-
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then sudo bash -c "source /home/travis/.rvm/scripts/rvm; rvm use 2.2.3; gem install github_changelog_generator"; fi'
48+
# - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3; fi'
49+
# - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then curl -sSL https://get.rvm.io | bash; fi'
50+
# - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then sudo bash -c "source /home/travis/.rvm/scripts/rvm; rvm use 2.2.3; gem install github_changelog_generator"; fi'
5151

5252
after_success:
5353
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then sbt "project core" coverageReport; fi'
@@ -57,7 +57,7 @@ after_success:
5757
before_deploy:
5858
- sbt "project cpuSampling" universal:packageZipTarball
5959
- sbt "project cli" universal:packageZipTarball
60-
- sbt "project daemon" universal:packageZipTarball
60+
# - sbt "project daemon" universal:packageZipTarball
6161
- tar -C powerapi-sampling-cpu/target/universal -xvf powerapi-sampling-cpu/target/universal/powerapi-sampling-cpu.tgz
6262
- tar -C powerapi-cli/target/universal -xvf powerapi-cli/target/universal/powerapi-cli.tgz
6363

@@ -68,20 +68,20 @@ deploy:
6868
file:
6969
- "powerapi-sampling-cpu/target/universal/powerapi-sampling-cpu.tgz"
7070
- "powerapi-cli/target/universal/powerapi-cli.tgz"
71-
- "powerapi-daemon/target/universal/powerapi-daemon.tgz"
71+
# - "powerapi-daemon/target/universal/powerapi-daemon.tgz"
7272
skip_cleanup: true
7373
on:
7474
tags: true
7575
repo: Spirals-Team/powerapi
7676

7777
after_deploy:
7878
- sbt "project core" publishSigned sonatypeRelease
79-
- github_changelog_generator Spirals-Team/powerapi --token $GITHUB_TOKEN
80-
- git config user.name "Travis CI"
81-
- git config user.email "[email protected]"
82-
- git add CHANGELOG.md
83-
- git commit -m 'core(changelog) update the Changelog'
84-
- git push --quiet "https://${GITHUB_TOKEN}@github.com/Spirals-Team/powerapi" master > /dev/null 2>&1
79+
# - github_changelog_generator Spirals-Team/powerapi --token $GITHUB_TOKEN
80+
# - git config user.name "Travis CI"
81+
# - git config user.email "[email protected]"
82+
# - git add CHANGELOG.md
83+
# - git commit -m 'core(changelog) update the Changelog'
84+
# - git push --quiet "https://${GITHUB_TOKEN}@github.com/Spirals-Team/powerapi" master > /dev/null 2>&1
8585
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PWD
8686
- docker build -f docker/sampling/Dockerfile-sampling -t spirals/powerapi-sampling-cpu:$TRAVIS_TAG .
8787
- docker build -f docker/Dockerfile-cli -t spirals/powerapi-cli:$TRAVIS_TAG .

0 commit comments

Comments
 (0)