A double bond is always given more preference in numbering (i.e, it gets the lower number) over a triple bond, except in one case.
I leave it to you to explore and find out what that case is...please see the link posted by cth.
It's a lot of fun and a good self-learning experience. I'm pretty sure you'll learn a lot more there than posting questions on the forum.