richelbilderbeek / djog_unos_2018

Project by the Uno's at DJOG 2018-2019: Nature Zen
GNU General Public License v3.0
6 stars 2 forks source link

Make Travis script topic-branch dependent #533

Closed richelbilderbeek closed 5 years ago

richelbilderbeek commented 5 years ago

Is your feature request related to a problem? Please describe.

Travis topic branches need to be fast. But due to its many tasks, it's getting clogged up.

For example, this is part of .travis.yml:

  # helgrind: takes too long
  # - travis_wait 50 valgrind --tool=helgrind --log-file=helgrind.log -v ./djog_unos_2018 --short 1
  # - cat helgrind.log

Describe the solution you'd like

Do some branch-specific things in the Travis script:

Do everything in develop and master.

Describe alternatives you've considered

None.

Additional context

None.

richelbilderbeek commented 5 years ago

Easy, see here!

richelbilderbeek commented 5 years ago
  - travis_wait 50 valgrind --tool=helgrind --log-file=helgrind.log -v ./djog_unos_2018 --short 1
  - cat helgrind.log
  - qmake djog_unos_2018.pro
  - make release
  - time ./djog_unos_2018 --profiling 350 350
  - ./djog_unos_2018 --profiling 350 350
  - gprof djog_unos_2018 > gprof.log
  - head gprof.log -n 1000
richelbilderbeek commented 5 years ago

@Martje127: you can do this!

DynCoder commented 5 years ago

Although you may have to read more docs

Op do 4 apr. 2019 16:24 schreef Richel Bilderbeek <notifications@github.com

:

@martje127 https://github.com/martje127: you can do this!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/richelbilderbeek/djog_unos_2018/issues/533#issuecomment-479919020, or mute the thread https://github.com/notifications/unsubscribe-auth/Ab-Tkp_vLqi17ii5Tu49H-6j6ac1owA4ks5vdgsjgaJpZM4cbNZi .

martprenger commented 5 years ago

i did it, if you find any eror's say it